X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=support%2Fsdk%2Fjava%2Fnet%2Ftinyos%2Ftools%2FMakefile;h=7caa0c866c0ca004c95bf9bff25a8e613eadfe79;hb=88b30dc1ada08f40bed2b6d25aca268fa30e83de;hp=1102a8a4b19e0e1985c9fd8dc00a82c4107c2d19;hpb=cfee1751c6588fb5836edbf6fdecac7f77ad8730;p=tinyos-2.x.git diff --git a/support/sdk/java/net/tinyos/tools/Makefile b/support/sdk/java/net/tinyos/tools/Makefile index 1102a8a4..7caa0c86 100644 --- a/support/sdk/java/net/tinyos/tools/Makefile +++ b/support/sdk/java/net/tinyos/tools/Makefile @@ -5,6 +5,13 @@ # @author TinyOS Team # +INITIAL_TARGETS = PrintfMsg.class + ROOT = ../../.. include $(ROOT)/Makefile.include +PRINTF_H = $(TOSDIR)/lib/printf/printf.h + +PrintfMsg.java: $(PRINTF_H) + mig java $(CFLAGS) -java-classname=net.tinyos.tools.PrintfMsg $(PRINTF_H) printf_msg -o $@ +