IRQ_ENABLED(): Prevent name clash with variable defined within macro
[bertos.git] / app / demo / demo.mk
index 7bf46ae538e2339efa40c2d74c46059c5c4bde7d..a836d007f682d4663565286c92e66509a57481ba 100644 (file)
@@ -5,15 +5,12 @@
 #
 # Makefile fragment for DevLib demo application.
 #
-# Author: Bernardo Innocenti <bernie@develer.com>
+# Author: Bernie Innocenti <bernie@codewiz.org>
 #
 
 include bertos/fonts/fonts.mk
 include bertos/emul/emul.mk
 
-#Demo application is hosted
-demo_EMBEDDED_TGT = 0
-
 # Set to 1 for debug builds
 demo_DEBUG = 1
 
@@ -79,11 +76,7 @@ demo_CXXFLAGS = -D_QT=4 -D'ARCH=ARCH_EMUL' -Iapp/demo $(EMUL_CFLAGS)
 demo_LDFLAGS = $(EMUL_LDFLAGS)
 
 # Debug stuff
-ifeq ($(demo_DEBUG),1)
-       demo_CFLAGS += -D_DEBUG
-       demo_CXXFLAGS += -D_DEBUG
-       demo_CSRC += bertos/drv/kdebug.c
-else
+ifeq ($(demo_DEBUG),0)
        demo_CFLAGS += -Os
        demo_CXXFLAGS += -Os
 endif