summaryrefslogtreecommitdiff
path: root/Week1-Pacman/Makefile
diff options
context:
space:
mode:
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