X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=support%2Fmake%2Favr%2Favr.rules;h=7424b8408f5dff47e09c48912763f1c7e1536801;hb=d8d2119b41318d9377d8a052ab78cb8b148c7c9c;hp=feba047c1468515b879a53b99d38c34ae0106a37;hpb=172fa87c323ce3c1ab76b10822ae5628e3dc5868;p=tinyos-2.x.git diff --git a/support/make/avr/avr.rules b/support/make/avr/avr.rules index feba047c..7424b840 100644 --- a/support/make/avr/avr.rules +++ b/support/make/avr/avr.rules @@ -36,7 +36,9 @@ NCC = ncc LIBS = -lm # Use __ as the separator - requires nesC 1.2.9 or later -PFLAGS += -fnesc-separator=__ +ifneq ($(filter sim,$(GOALS)),sim) + PFLAGS += -fnesc-separator=__ +endif AMADDR = ActiveMessageAddressC__addr BUILDDIR ?= build/$(PLATFORM) MAIN_EXE = $(BUILDDIR)/main.exe