[Tinyos-help] a question about makefile

Philip Levis pal at cs.stanford.edu
Fri Oct 6 13:43:44 PDT 2006


On Oct 6, 2006, at 12:54 PM, Tao Wu wrote:

> Hi Guys,
>
> I have a question about a line in makefile
>
> PFLAGS= -I%T/lib/Route -I%T/lib/Queue -I%T/lib/BroadcastWhat does "- 
> I%T/XXX" mean?  Why cann't we just use -I /lib/Route? Can anyone  
> tell the difference?
>

%T means TOSDIR

-I/lib/Route would have nesC look at

/lib/Route

which is not, say

/opt/tinyos-1.x/tos/lib/Route

Phil



More information about the Tinyos-help mailing list