]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tosthreads/capps/SenseAndSend/Makefile
initial checkin of tosthreads related apps
[tinyos-2.x.git] / apps / tosthreads / capps / SenseAndSend / Makefile
diff --git a/apps/tosthreads/capps/SenseAndSend/Makefile b/apps/tosthreads/capps/SenseAndSend/Makefile
new file mode 100644 (file)
index 0000000..911a042
--- /dev/null
@@ -0,0 +1,13 @@
+TOSTHREAD_MAIN=SenseAndSend.c
+CFLAGS += -I$(TOSDIR)/lib/tosthreads/sensorboards/tmote_onboard
+
+ifneq ($(filter telosb tmote clean,$(MAKECMDGOALS)),) 
+  include $(MAKERULES)
+else
+%:
+       @echo "    Sorry, this application is only written to work with telos based motes equipped with onboard sensors.."
+cthreads:
+       @:
+dynthreads:
+       @:
+endif