aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-10-06 23:24:54 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-10-06 23:24:54 +0100
commitd871cb39c6f52b14e9722ea76e978a931b599203 (patch)
treebc93f726afc6e3b31e2bac0f44a56edbb42aed21
parentae8aafdee024f5c75b2ef07a962c7833ae3d30f6 (diff)
downloadtermo-d871cb39c6f52b14e9722ea76e978a931b599203.tar.gz
termo-d871cb39c6f52b14e9722ea76e978a931b599203.tar.xz
termo-d871cb39c6f52b14e9722ea76e978a931b599203.zip
Makefile now sensitive to DEBUG=1
-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