Set default to cooperative; add debug informations.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 12 Nov 2008 21:40:31 +0000 (21:40 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 12 Nov 2008 21:40:31 +0000 (21:40 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1930 38d2e660-2303-0410-9eaa-f027e97ec537

examples/demo/demo.mk

index 504d80fab9e64834a18ffa725b627e43c33a0a30..cef81a26eca0b6500e300c11dc0ed95751ff793a 100644 (file)
@@ -54,7 +54,7 @@ demo_CSRC = \
        bertos/mware/sprintf.c \
        bertos/kern/idle.c \
        bertos/kern/irq.c \
-       bertos/kern/preempt.c \
+       bertos/kern/coop.c \
        bertos/kern/proc.c \
        bertos/kern/proc_test.c \
        bertos/kern/sem.c \
@@ -66,7 +66,7 @@ demo_CPPASRC = \
        bertos/emul/switch.S
 
 # FIXME: maybe this junk should go in emul/emul.mk?
-$(OBJDIR)/demo/bertos/emul/emulwin.o: bertos/emul/emulwin_moc.cpp 
+$(OBJDIR)/demo/bertos/emul/emulwin.o: bertos/emul/emulwin_moc.cpp
 $(OBJDIR)/demo/bertos/drv/lcd_gfx_qt.o: bertos/drv/lcd_gfx_qt_moc.cpp
 $(OBJDIR)/demo/bertos/drv/timer.o: bertos/emul/timer_qt_moc.cpp
 $(OBJDIR)/demo/bertos/emul/emulkbd.o: bertos/emul/emulkbd_moc.cpp
@@ -76,8 +76,8 @@ bertos/emul/timer_qt_moc.cpp: bertos/emul/timer_qt.c
        $(QT_MOC) -o $@ $<
 
 
-demo_CFLAGS = -Iexamples/demo $(EMUL_CFLAGS)
-demo_CXXFLAGS = -Iexamples/demo $(EMUL_CFLAGS)
+demo_CFLAGS = -O0 -g3 -ggdb -Iexamples/demo $(EMUL_CFLAGS)
+demo_CXXFLAGS = -O0 -g3 -ggdb -Iexamples/demo $(EMUL_CFLAGS)
 demo_LDFLAGS = $(EMUL_LDFLAGS)
 
 # Debug stuff