aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorache <ache@ache.one>2017-10-23 00:12:18 +0200
committerache <ache@ache.one>2017-10-23 00:12:18 +0200
commitbabb87f35cd80fce5e120554b6af5e1e1a92ce62 (patch)
tree806d68feec3e5a1d308008bf391a555e5f183d9d /Makefile
parentFix help (diff)
Mode debug
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)