make MyMsg.java
might work, but you could have some dependency foo.
You can remove/name MyMsg.java to force it to run.
Or if you change the line to this:
MyMsg.java: MyMsg.h
It should remake everytime you change MyMsg.h
MS
Hieu Tran wrote:
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!
P/S to Roberto: thanks you for your reply!
Be a chatter box. Enjoy free PC-to-PC calls
http://us.rd.yahoo.com/mail_us/taglines/postman12/*http://us.rd.yahoo.com/evt=39663/*http://messenger.yahoo.com
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
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help