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