Hi Johnny, That is a thing I had wondered, but it behaves just the same without the explicit rule, and with the $(OTHERCONST) inserted into the generic one further down. Also, I have just tried adding in cxxflags, and it has not changed the result. I am beginning to suspect paranormal activity.
Thanks, Andy On 4 Aug 2014, at 01:03, "Johny Mattsson" <[email protected]<mailto:[email protected]>> wrote: On 4 August 2014 03:19, Andy May <[email protected]<mailto:[email protected]>> wrote: CFLAGS += -I$(TOSDIR)/lib/net/ -I$(TOSDIR)/lib/net/ctp -I$(TOSDIR)/lib/net/le -I%T/lib/net/drip -DLOW_POWER_LISTENING ... OTHERCONST = -I $(TOSDIR)types/ -I $(TOSDIR)platforms/telosb/mac/tkn154/ -I $(TOSDIR)platforms/telosb/mac/tkn154/timer/ -I $(TOSDIR)/lib/serial/ -I $(TOSDIR)/lib/mac/tkn154/ -I $(TOSDIR)/chips/cc2420_tkn154/ -I $(TOSDIR)/../support/sdk/c/sf/ ... BaseStationCommunicator: CFLAGS += -I/opt/tinyos-2.x/support/sdk/c/sf -g --std=c99 BaseStationCommunicator: LDFLAGS += -L/opt/tinyos-2.x/support/sdk/c/sf -g BaseStationCommunicator.o: BaseStationCommunicator.cpp g++ -c $(OTHERCONST) BaseStationCommunicator.cpp -o BaseStationCommunicator.o You're providing an explicit build rule for BaseStationCommunicator.o here, but it doesn't use CFLAGS (or CXXFLAGS as one would expect for a C++ object). Could that be the problem perhaps? Cheers, /Johny -- Johny Mattsson Senior Software Engineer DiUS Computing Pty. Ltd. where ideas are engineered
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
