]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tosthreads/capps/TestCollection/Makefile
Update READMEs
[tinyos-2.x.git] / apps / tosthreads / capps / TestCollection / Makefile
index 66efa2d3d0dc8bf2d258ea9494d96a44ce9e24a3..7e378bf078429c641532acaaf1e7eb17309bf94b 100644 (file)
@@ -8,4 +8,14 @@ CFLAGS += -I$(TOSDIR)/lib/net/
 CFLAGS += -I$(TOSDIR)/lib/tosthreads/lib/net/ctp
 CFLAGS += -I$(TOSDIR)/lib/net/ctp  -I$(TOSDIR)/lib/net/4bitle
 
-include $(MAKERULES)
+ifneq ($(filter telosb tmote tinynode shimmer iris epic clean,$(MAKECMDGOALS)),) 
+  include $(MAKERULES)
+else
+%:
+       @echo "    Sorry, this application only works on platforms with >8kB of RAM (telos, iris, etc.)"
+cthreads:
+       @:
+dynthreads:
+       @:
+endif
+