Please add the following line in the local Makefile
CFLAGS += -DROOT_MOTE Manjunath D ################################################################################################################ *************************************************************************************************************** On Sun, 26 Dec 2010, [email protected] wrote:
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
