aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-09-20 13:31:05 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-09-20 13:31:05 +0000
commite010541b0e0d2589a32eb21f09e2fca47811e335 (patch)
tree599e97de9088fa4b38de93ce8e8697ed7cd66196 /Makefile
parent34f2e5dc95916d41c66e9c3fd357a2ba4f64ebbd (diff)
added DEBUG_CFLAGS
svn path=/trunk/externals/iem/iemnet/; revision=14162
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 93a30f0..e243e6f 100644
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,10 @@ PDOBJECTS =
# patches, documentation, etc.
EXTRA_DIST =
+# to enable debugging set this to "-DDEBUG"
+# you can slo just run make as "make DEBUG_CFLAGS='-DDEBUG'"
+DEBUG_CFLAGS =
+
#------------------------------------------------------------------------------#
#
@@ -133,6 +137,7 @@ ifeq (MINGW,$(findstring MINGW,$(UNAME)))
endif
CFLAGS += $(OPT_CFLAGS)
+CFLAGS += $(DEBUG_CFLAGS)
.PHONY = install libdir_install single_install install-doc install-exec clean dist etags