(file) Return to Makecontrib CVS log (file) Jump to this file's LXR Page (dir) Up to [CENS] / tos-contrib

File: [CENS] / tos-contrib / Makecontrib (download)
Revision: 1.7, Fri Oct 29 06:14:55 2004 UTC (5 years ago) by ndbusek
Branch: MAIN
Changes since 1.6: +6 -1 lines
preforming check on EMSTAR_ROOT to only be included if defined
allowing standalone builds in tos-contrib to work

# All shared dirs and other inter-contrib stuff needs to go here
# Potentially HOSTMOTEDIR can be placed here as well

ifndef TOSDIR
$(error TOSDIR UNDEFINED)
else
ifdef MAKERULES
include $(MAKERULES)
else
include $(TOSDIR)/../apps/Makerules
endif
endif

PROGRAMMER_EXTRA_FLAGS := -dno-poll -v=2 

CFLAGS += -I../../../include 

ifdef EMSTAR_ROOT
CFLAGS += -I$(EMSTAR_ROOT)
endif

CFLAGS += $(patsubst %, -I../../../%/tos/interfaces, $(CONTRIB_INCLUDES)) \
		  $(patsubst %, -I../../../%/tos/platform/$(PLATFORM), $(CONTRIB_INCLUDES)) \
          $(patsubst %, -I../../../%/tos/system, $(CONTRIB_INCLUDES)) \
          $(patsubst %, -I../../../%/tos/lib, $(CONTRIB_INCLUDES)) \
          $(patsubst %, -I../../../%/tos/sensorboards/$(SENSORBOARD), $(CONTRIB_INCLUDES)) \


CENS CVS Mailing List
Powered by
ViewCVS 0.9.2