Hey All,

I'm trying to modify makefile system for TOSSIM. The motivation and things I
wanna achieve are as follows.

I changed a few radio model related files (CpmModelC.nc,
TossimPacketModelC.nc, ActiveMessageC.nc under tos/lib/tossim/), but trying
to put the modified files in a separate directory & keep the original source
tree unchanged.

The new makefile system will still use the original files when typing "make
micaz tossim". However, it will refer to the modified version
of CpmModelC.nc, TossimPacketModelC.nc, and ActiveMessageC.nc in another
directory when typing "make micaz tossim_new", all other files & environment
used are still the same.

Is there any approach to achieve that? I tried adding new .extra yet it
didn't work. Do I need to hack into nesc compiler, as I think it may be
related to the -tossim flag during compilation.

Thanks!

Yi
-- 
Yi Tang
Laboratory of Secure & HIgh-performance NEtworks (SHINE)
Bradley Department of Electrical and Computer Engineering
Virginia Tech
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to