From 7a8fc77e2face10862dda56f11a167828f057e07 Mon Sep 17 00:00:00 2001 From: David Date: Fri, 2 May 2014 11:47:56 +1200 Subject: Makefile nicety --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 37e89c4..6397776 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,14 @@ MAKE = make CC = gcc INSTALL_PATH=/ -EXTRA_CFLAGS= + +ifdef DEBUG + EXTRA_CFLAGS+=-DDEBUG +else + EXTRA_CFLAGS= +endif + + GLIB_CFLAGS = -I/usr/include/glib-2.0 \ -I/usr/lib/glib-2.0/include -- cgit v1.1