aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f92dbab..50dd6b8 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,9 @@ CFLAGS+=-std=gnu99
all: $(PROG)
+debug: CFLAGS += -DDEBUG -g
+debug: $(PROG)
+
$(PROG): main.c main.h $(OBJ_FILES)
$(CC) $(CFLAGS) $(LIBS) -o $@ main.c $(OBJ_FILES)