X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=examples%2Fdemo%2Fdemo.mk;h=733b52c5adbea71a8b8e4121d762a1db610cfc4e;hb=71743c2a5a8bf9dbf66a945fd9656baed0d16329;hp=cef81a26eca0b6500e300c11dc0ed95751ff793a;hpb=bbb39b058f85008228263834a852153b0d747230;p=bertos.git diff --git a/examples/demo/demo.mk b/examples/demo/demo.mk index cef81a26..733b52c5 100644 --- a/examples/demo/demo.mk +++ b/examples/demo/demo.mk @@ -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