]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/sdk/java/net/tinyos/tools/Makefile
Added PrintfClient as into net.tinyos.tools
[tinyos-2.x.git] / support / sdk / java / net / tinyos / tools / Makefile
index 1102a8a4b19e0e1985c9fd8dc00a82c4107c2d19..7caa0c866c0ca004c95bf9bff25a8e613eadfe79 100644 (file)
@@ -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 $@
+