Refactor switch context ASM files to comply to Wizard.
[bertos.git] / examples / demo / demo.mk
index cef81a26eca0b6500e300c11dc0ed95751ff793a..733b52c5adbea71a8b8e4121d762a1db610cfc4e 100644 (file)
@@ -14,12 +14,14 @@ include bertos/emul/emul.mk
 # Set to 1 for debug builds
 demo_DEBUG = 1
 
+# This is an hosted application
+demo_HOSTED = 1
+
 # Our target application
 TRG += demo
 
-# FIXME: we want to use g++ for C source too
-CC = g++
-CXX = g++
+#We want to use g++ for C source too
+demo_CC=g++
 
 demo_CXXSRC = \
        bertos/emul/emul.cpp \
@@ -63,7 +65,7 @@ demo_CSRC = \
        bertos/verstag.c
 
 demo_CPPASRC = \
-       bertos/emul/switch.S
+       bertos/emul/switch_ctx_emul.S
 
 # FIXME: maybe this junk should go in emul/emul.mk?
 $(OBJDIR)/demo/bertos/emul/emulwin.o: bertos/emul/emulwin_moc.cpp