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
1 changed files with 4 additions and 0 deletions

View File

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