]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/TestSerial/Makefile
Dip TEP Compliance
[tinyos-2.x.git] / apps / tests / TestSerial / Makefile
index a5bb2208a82b21a68972547824ea1ee74477b56e..daf594a99460882cc64aeeaa5b4531309de37369 100644 (file)
@@ -2,8 +2,10 @@ COMPONENT=TestSerialAppC
 BUILD_EXTRA_DEPS += TestSerial.class
 CLEAN_EXTRA = *.class TestSerialMsg.java
 
+CFLAGS += -I$(TOSDIR)/lib/T2Hack
+
 TestSerial.class: $(wildcard *.java) TestSerialMsg.java
-       javac *.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 $@