]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/NxFloat/Makefile
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / apps / tests / NxFloat / Makefile
diff --git a/apps/tests/NxFloat/Makefile b/apps/tests/NxFloat/Makefile
new file mode 100644 (file)
index 0000000..daf594a
--- /dev/null
@@ -0,0 +1,15 @@
+COMPONENT=TestSerialAppC
+BUILD_EXTRA_DEPS += TestSerial.class
+CLEAN_EXTRA = *.class TestSerialMsg.java
+
+CFLAGS += -I$(TOSDIR)/lib/T2Hack
+
+TestSerial.class: $(wildcard *.java) TestSerialMsg.java
+       javac -target 1.4 -source 1.4 *.java
+
+TestSerialMsg.java:
+       mig java -target=null $(CFLAGS) -java-classname=TestSerialMsg TestSerial.h test_serial_msg -o $@
+
+
+include $(MAKERULES)
+