Makefile now sensitive to DEBUG=1

This commit is contained in:
Paul LeoNerd Evans 2008-10-06 23:24:54 +01:00
parent ae8aafdee0
commit d871cb39c6

View File

@ -1,6 +1,10 @@
CCFLAGS=-Wall -Iinclude -std=c99
LDFLAGS=
ifeq ($(DEBUG),1)
CCFLAGS+=-ggdb -DDEBUG
endif
all: demo
demo: termkey.o demo.c