LIBS = -lm
# Use __ as the separator - requires nesC 1.2.9 or later
-PFLAGS += -fnesc-separator=__
+ifneq ($(filter sim,$(GOALS)),sim)
+ifneq ($(filter sim-sf,$(GOALS)),sim-sf)
+ PFLAGS += -fnesc-separator=__
+endif
+endif
AMADDR = ActiveMessageAddressC__addr
BUILDDIR ?= build/$(PLATFORM)
MAIN_EXE = $(BUILDDIR)/main.exe
endif
ifdef STACK_CHECK
@echo
- @tos-ramsize $(PLATFORM) $(MAIN_EXE)
+ @-tos-ramsize $(PLATFORM) $(MAIN_EXE)
@echo
endif
@echo " compiled $(COMPONENT) to $(MAIN_EXE)"