aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2014-05-02 11:47:56 +1200
committerDavid <dbphillipsnz@gmail.com>2014-06-06 20:28:46 +1200
commitc2e45c577c6b9838bb525fe6f7dfd191297eddd0 (patch)
tree6cb42b46fd261e5b089bb6bc118bad7fcab1607d /Makefile
parent78d218286e972f832b7b0c2e48fcbd096a56653b (diff)
downloadparamano-c2e45c577c6b9838bb525fe6f7dfd191297eddd0.tar.xz
Makefile nicety
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
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