diff Makefile.gen @ 1048:509e6ed3a24e

Finishing touches to the DM_DEBUG stuff.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 01 Mar 2015 18:13:01 +0200
parents 027083293a8e
children 771e03bf9fcd
line wrap: on
line diff
--- a/Makefile.gen	Sun Mar 01 18:09:20 2015 +0200
+++ b/Makefile.gen	Sun Mar 01 18:13:01 2015 +0200
@@ -19,9 +19,15 @@
 DM_CFLAGS += -I$(DMLIBSRC)
 
 ifeq ($(EXTRA_CFLAGS),)
-EXTRA_CFLAGS=-O3 -march=core2 -DDM_DEVEL
+EXTRA_CFLAGS=-O3 -march=core2
 endif
 
+###
+### Extra debug messages etc?
+###
+ifeq ($(DM_DEBUG),yes)
+DM_CFLAGS += -DDM_DEBUG
+endif
 
 ###
 ### Build demo target?