Convert to new Doxygen comments.
[bertos.git] / app / demo / demo.mk
index 18a881dab73e894e1fb48b389a8ca714ab95e410..580b6c2218570a4c60c484e0a3eb3a8c7796c2b5 100755 (executable)
@@ -8,6 +8,12 @@
 # Author: Bernardo Innocenti <bernie@develer.com>
 #
 # $Log$
+# Revision 1.6  2006/06/02 12:27:36  bernie
+# Tweak apparence; enable assertions.
+#
+# Revision 1.5  2006/05/27 22:42:02  bernie
+# Add verstag.
+#
 # Revision 1.4  2006/05/27 17:16:38  bernie
 # Make demos a bit more interesting.
 #
@@ -20,7 +26,6 @@
 # Revision 1.1  2006/03/22 09:52:13  bernie
 # Add demo application.
 #
-#
 
 
 # Set to 1 for debug builds
@@ -66,7 +71,8 @@ demo_CSRC = \
        kern/proc.c \
        kern/sem.c \
        kern/signal.c \
-       kern/monitor.c
+       kern/monitor.c \
+       verstag.c
 
 demo_ASRC = \
        kern/switch_x86_64.s
@@ -77,13 +83,17 @@ $(OBJDIR)/demo/drv/lcd_gfx_qt.o: drv/lcd_gfx_qt_moc.cpp
 
 EMUL_CFLAGS = $(shell pkg-config QtGui --cflags) -DQT_CLEAN_NAMESPACE -DQT3_SUPPORT
 EMUL_LDFLAGS = $(shell pkg-config QtGui --libs)
-demo_CFLAGS = -Os -D_QT=4 -D'ARCH=ARCH_EMUL' -Iapp/demo -Ihw $(EMUL_CFLAGS)
-demo_CXXFLAGS = -Os -D_QT=4 -D'ARCH=ARCH_EMUL' -Iapp/demo -Ihw $(EMUL_CFLAGS)
+demo_CFLAGS = -D_QT=4 -D'ARCH=ARCH_EMUL' -Iapp/demo -Ihw $(EMUL_CFLAGS)
+demo_CXXFLAGS = -D_QT=4 -D'ARCH=ARCH_EMUL' -Iapp/demo -Ihw $(EMUL_CFLAGS)
 demo_LDFLAGS = $(EMUL_LDFLAGS)
 
 # Debug stuff
 ifeq ($(demo_DEBUG),1)
        demo_CFLAGS += -D_DEBUG
+       demo_CXXFLAGS += -D_DEBUG
 #      demo_PCSRC += drv/kdebug.c
+else
+       demo_CFLAGS += -Os
+       demo_CXXFLAGS += -Os
 endif