projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable autoenabled parameters only for enabled modules
[bertos.git]
/
examples
/
demo
/
demo.mk
diff --git
a/examples/demo/demo.mk
b/examples/demo/demo.mk
index cef81a26eca0b6500e300c11dc0ed95751ff793a..733b52c5adbea71a8b8e4121d762a1db610cfc4e 100644
(file)
--- 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
# Set to 1 for debug builds
demo_DEBUG = 1
+# This is an hosted application
+demo_HOSTED = 1
+
# Our target application
TRG += demo
# 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 \
demo_CXXSRC = \
bertos/emul/emul.cpp \
@@
-63,7
+65,7
@@
demo_CSRC = \
bertos/verstag.c
demo_CPPASRC = \
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
# FIXME: maybe this junk should go in emul/emul.mk?
$(OBJDIR)/demo/bertos/emul/emulwin.o: bertos/emul/emulwin_moc.cpp