X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=support%2Fsdk%2Fjava%2Fnet%2Ftinyos%2Fpacket%2FMakefile;h=29cb31710aa2e876daec8a4db522c8560038fb95;hp=a8754031a4dac6e53efb96353a95f23e5d27c173;hb=68a51506fe6b2d54995cb60d0d5966696c0577ed;hpb=5d774627c6a5f959045751f9d354257b8928313d diff --git a/support/sdk/java/net/tinyos/packet/Makefile b/support/sdk/java/net/tinyos/packet/Makefile index a8754031..29cb3171 100644 --- a/support/sdk/java/net/tinyos/packet/Makefile +++ b/support/sdk/java/net/tinyos/packet/Makefile @@ -5,8 +5,7 @@ INITIAL_TARGETS = Serial.class Serial.java ROOT = ../../.. include $(ROOT)/Makefile.include -TOS=$(shell ncc -print-tosdir) -SERIAL_H = $(TOS)/lib/serial/Serial.h +SERIAL_H = $(TOSDIR)/lib/serial/Serial.h Serial.java: $(SERIAL_H) FORCE ncg -o $@ -java-classname=net.tinyos.packet.Serial java $(SERIAL_H) Serial.h