summaryrefslogtreecommitdiff
path: root/Week1-Pacman/Makefile
diff options
context:
space:
mode:
authorBoredGuy <osome3717@gmail.com>2024-12-14 12:08:02 +0300
committerBoredGuy <osome3717@gmail.com>2024-12-14 12:08:02 +0300
commitfc3032135f4da3662d6b727c70f22049d6e09231 (patch)
tree8e0caba74cc6749c76f211540fe908f6b9a3d476 /Week1-Pacman/Makefile
parent993f45cec7a08a5b980ef5a08ea7ce19b877b743 (diff)
Update
- Finish animation system - Fix bug where leftward/upward movement was slightly faster than downward/forward movement
Diffstat (limited to 'Week1-Pacman/Makefile')
-rw-r--r--Week1-Pacman/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Week1-Pacman/Makefile b/Week1-Pacman/Makefile
index f7404b6..f260d90 100644
--- a/Week1-Pacman/Makefile
+++ b/Week1-Pacman/Makefile
@@ -5,7 +5,7 @@
# @version 0.1
CC=gcc
-CFLAGS=-Wall -lSDL2 -lSDL2_image
+CFLAGS=-Wall -lSDL2 -lSDL2_image -g
HEADERS=$(wildcard src/*.h)
CFILES=$(wildcard src/*.c)
@@ -15,4 +15,7 @@ build/pacman: $(HEADERS) $(CFILES)
run: build/pacman
build/pacman
+debug: build/pacman
+ gdb build/pacman
+
# end