2009-06-18 10:42:08 +02:00
|
|
|
all:
|
|
|
|
@rm -f *.output
|
|
|
|
@echo Compiling on:
|
|
|
|
@uname -a
|
|
|
|
@$(MAKE) -s -k compile || cat *.output
|
|
|
|
|
2010-02-03 21:43:04 +01:00
|
|
|
compile: rime-examples shell hello-world \
|
2009-06-18 10:42:08 +02:00
|
|
|
ipso-ipv6-raven jcreate multi-threading sky sky-ip sky-shell \
|
2010-02-06 19:22:34 +01:00
|
|
|
webserver-ipv6 webserver-ipv6-raven tools
|
|
|
|
|
|
|
|
tools:
|
|
|
|
@(cd ../../../tools ; $(MAKE))
|
|
|
|
@(cd ../../../tools/sky/uip6-bridge ; $(MAKE))
|
2009-06-18 10:42:08 +02:00
|
|
|
|
2011-09-01 18:02:19 +02:00
|
|
|
shell: example-example-shell.native
|
2009-06-18 10:42:08 +02:00
|
|
|
hello-world: example-hello-world.sky example-hello-world.native \
|
2011-09-01 18:03:49 +02:00
|
|
|
example-hello-world.minimal-net example-hello-world.msb430 \
|
|
|
|
example-hello-world.micaz example-hello-world.raven \
|
2011-09-01 18:02:19 +02:00
|
|
|
example-hello-world.redbee-econotag example-hello-world.z1
|
|
|
|
rime-examples: example-rime.sky example-rime.z1 example-rime.esb example-rime.redbee-econotag
|
2009-06-18 10:42:08 +02:00
|
|
|
ipso-ipv6-raven: example-ipso-ipv6-raven.raven
|
2010-05-04 12:38:55 +02:00
|
|
|
jcreate: example-jcreate.jcreate
|
2009-06-18 10:42:08 +02:00
|
|
|
multi-threading: example-multi-threading.sky \
|
2011-09-01 18:02:19 +02:00
|
|
|
example-multi-threading.native example-multi-threading.msb430 \
|
|
|
|
example-multi-threading.z1
|
2009-06-18 10:42:08 +02:00
|
|
|
sky: example-sky.sky
|
|
|
|
sky-ip: example-sky-ip.sky
|
|
|
|
sky-shell: example-sky-shell.sky
|
|
|
|
webserver-ipv6: example-webserver-ipv6.sky
|
|
|
|
webserver-ipv6-raven: example-webserver-ipv6-raven.avr-raven
|
|
|
|
|
|
|
|
example-%:
|
|
|
|
@((echo; echo ------------------- $* -------------------; \
|
|
|
|
cd ../../../examples/${basename $*} ; $(MAKE) TARGET=${subst .,,${suffix $*}} clean;\
|
|
|
|
($(MAKE) TARGET=${subst .,,${suffix $*}} > /dev/null 2>&1 ) ; \
|
|
|
|
$(MAKE) TARGET=${subst .,,${suffix $*}}) > $*.output 2>&1 && echo "$* succeeded" && rm $*.output) || \
|
|
|
|
(echo; echo "$* failed"; exit 1)
|
|
|
|
# (cd ../../../examples/${basename $*}; make TARGET=${subst .,,${suffix $*}})
|