Hi all!
In my work, I want to creat my own structure (say, MyMsg). I creat file MyMsg.h and put in the directory..../apps/Project. I want to creat the class MyMsg.java in the directory.../tools/java/net/tinyos/tools. I made the change to the Makefile in the tools directory as follow:
 
MSGS = DelugeConsts.java DelugeAdvMsg.java DelugeReqMsg.java DelugeDataMsg.java SimpleCmdMsg.java LogMsg.java MyMsg.java
 
#
#MyMsg
#
MYMSG_LIB=$(TOS)/../apps/Project
MyMsg.java:
 $(MIG) -java-classname=$(PACKAGE).MyMsg $(MYMSG_LIB)/MyMsg.h MyMsg -o $@
 
However I do not know how to re-run this file to creat the MyMsg.java class? Could you help me some advice.
Regards!


Ring'em or ping'em. Make PC-to-phone calls as low as 1ยข/min with Yahoo! Messenger with Voice.
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to