]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/TestSerialBandwidth/Makefile
Merge devel code into the trunk.
[tinyos-2.x.git] / apps / tests / TestSerialBandwidth / Makefile
diff --git a/apps/tests/TestSerialBandwidth/Makefile b/apps/tests/TestSerialBandwidth/Makefile
new file mode 100644 (file)
index 0000000..a3aa562
--- /dev/null
@@ -0,0 +1,13 @@
+COMPONENT=TestSerialAppC
+CFLAGS += -I%T/lib/oski
+BUILD_EXTRA_DEPS += TestSerialMsg.class TestSerial.class
+CFLAGS += -DTOSH_DATA_LENGTH=100
+
+%.class: %.java
+       javac $<
+
+TestSerialMsg.java:
+       mig java -target=$(PLATFORM) $(CFLAGS) -java-classname=TestSerialMsg TestSerial.h TestSerialMsg -o $@
+
+include $(MAKERULES)
+