From d871cb39c6f52b14e9722ea76e978a931b599203 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Mon, 6 Oct 2008 23:24:54 +0100 Subject: Makefile now sensitive to DEBUG=1 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3-70-g09d2