X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=support%2Fsdk%2Fjava%2Fnet%2Ftinyos%2Fpacket%2FMakefile;fp=support%2Fsdk%2Fjava%2Fnet%2Ftinyos%2Fpacket%2FMakefile;h=94348efefa3c0fc6c743cafe742100aa26ff8902;hb=1ba974b83d19fc41bf80acd52726f36f7f1df297;hp=0000000000000000000000000000000000000000;hpb=4db69a460ad5d18d33cbf5c3ef74ad584d9e2886;p=tinyos-2.x.git diff --git a/support/sdk/java/net/tinyos/packet/Makefile b/support/sdk/java/net/tinyos/packet/Makefile new file mode 100644 index 00000000..94348efe --- /dev/null +++ b/support/sdk/java/net/tinyos/packet/Makefile @@ -0,0 +1,12 @@ +# Makefile for tools/java/net/tinyos/packet + +INITIAL_TARGETS = Serial.class + +ROOT = ../../.. +include $(ROOT)/Makefile.include + +TOS=$(shell ncc -print-tosdir) +SERIAL_H = $(TOS)/lib/serial/Serial.h + +Serial.java: $(SERIAL_H) + ncg -o $@ -java-classname=net.tinyos.packet.Serial java $(SERIAL_H) Serial.h