aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a134bef..cbfba5c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,10 @@
CCFLAGS=-Wall -Iinclude -std=c99
LDFLAGS=
+ifeq ($(DEBUG),1)
+ CCFLAGS+=-ggdb -DDEBUG
+endif
+
all: demo
demo: termkey.o demo.c