Hi Guys,

I have a question about a line in makefile

PFLAGS= -I%T/lib/Route -I%T/lib/Queue -I%T/lib/Broadcast
What does "-I%T/XXX" mean?  Why cann't we just use -I /lib/Route? Can anyone tell the difference? 

I checked the ncc manual pages. It says
"Except when -nostdinc is specified, the search path for nesC components is as follows, where tosdir is the TinyOS directory requested and target is the selected target:

  1. ./
  2. -I directives (in option order)
  3. %T/sensorboards/boardname, for each -board=boardname option specified (in option order) - except if the sensorboard was found via an explicit -I directive
  4. %T/platform/%p - except if the platform was found via an explicit -I directive
  5. Additional directories requested by the selected target (e.g., %T/platform/avrmote for the mica target)
  6. %T/interfaces
  7. %T/system
  8. %T/lib
"

Yet it is still not clear to me. Thanks a lot.

Best Regards,
Tao
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to