aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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