try:
CFLAGS+="-DROOT_MOTE" make telosb

Take care that your Makefile just contains lines like CFLAGS+="" but  
not CFLAGS="".

Quoting [email protected]:

> Hi!
> I've an application that uses "#define" variables, like "ROOT_MOTE".
> I want to define this symbol in the cygwin command line. I've tried   
>    "make telosb -DROOT_MOTE" but I get the following:
>
> ___________________________________ (cygwin console)
> $ make telosb -DROOT_MOTE
> make: invalid option -- D
> make: invalid option -- O
> make: invalid option -- O
> make: invalid option -- T
> make: invalid option -- _
> make: invalid option -- M
> make: invalid option -- O
> make: invalid option -- T
> make: invalid option -- E
> Usage: make [options] [target] ...
> Options:
>   -b, -m                      Ignored for compatibility.
>   -B, --always-make           Unconditionally make all targets.(rest  
>  of the help)___________________________________Also I've tried  
> other  options: --DROOT_MOTE, -D'ROOT_MOTE' ... but it doesn't work.
>
> What's the problem? Can it be the make[3.81], nescc[1.3.1],   
> gcc[3.4.4]... version?
>
> Thank you!! and MERRY CHRISTMAS!!
>
>
> ????????????????????????????????????????
> ?                José A. Tarifa Galisteo
> ?
> ?  Estudiante Ingeniería de Telecomunicación
> ?  Escuela Superior de Ingenieros - U. Sevilla
> ?  http://alumno.us.es/j/jostargal/
> ????????????????????????????????????????
>




_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to