From e010541b0e0d2589a32eb21f09e2fca47811e335 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?=
 <zmoelnig@users.sourceforge.net>
Date: Mon, 20 Sep 2010 13:31:05 +0000
Subject: added DEBUG_CFLAGS

svn path=/trunk/externals/iem/iemnet/; revision=14162
---
 Makefile | 5 +++++
 1 file changed, 5 insertions(+)

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
-- 
cgit v1.2.1