X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=app%2Fdemo%2Fdemo.mk;h=a836d007f682d4663565286c92e66509a57481ba;hb=c8023317996e17859b4a0abfdf4c49bfcfd81df5;hp=7bf46ae538e2339efa40c2d74c46059c5c4bde7d;hpb=22e903f490208fcc6f6de86250c723b1f200a61d;p=bertos.git diff --git a/app/demo/demo.mk b/app/demo/demo.mk index 7bf46ae5..a836d007 100644 --- a/app/demo/demo.mk +++ b/app/demo/demo.mk @@ -5,15 +5,12 @@ # # Makefile fragment for DevLib demo application. # -# Author: Bernardo Innocenti +# Author: Bernie Innocenti # 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