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