]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/cc2420/TxThroughput/Makefile
Supporting test suite for the newest CC2420 stack. Includes a low power version...
[tinyos-2.x.git] / apps / tests / cc2420 / TxThroughput / Makefile
diff --git a/apps/tests/cc2420/TxThroughput/Makefile b/apps/tests/cc2420/TxThroughput/Makefile
new file mode 100644 (file)
index 0000000..cf72257
--- /dev/null
@@ -0,0 +1,18 @@
+COMPONENT=TxThroughputC
+
+
+BUILD_EXTRA_DEPS = ThroughputMsg.py ThroughputMsg.java ThroughputMsg.class
+
+ThroughputMsg.py: TxThroughput.h
+       mig python -target=$(PLATFORM) $(CFLAGS) -python-classname=ThroughputMsg TxThroughput.h ThroughputMsg -o $@
+
+ThroughputMsg.java: TxThroughput.h
+       mig java -target=$(PLATFORM) $(CFLAGS) -java-classname=ThroughputMsg TxThroughput.h ThroughputMsg -o $@
+
+ThroughputMsg.class: $(wildcard *.java) ThroughputMsg.java
+       javac *.java
+
+include $(MAKERULES)
+
+