From c2e45c577c6b9838bb525fe6f7dfd191297eddd0 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 7c34210..82b94ec 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