1 thanos 1.1 # All shared dirs and other inter-contrib stuff needs to go here
2 # Potentially HOSTMOTEDIR can be placed here as well
3
4 ifndef TOSDIR
5 $(error TOSDIR UNDEFINED)
6 else
|
7 girod 1.5 ifdef MAKERULES
8 include $(MAKERULES)
9 else
|
10 thanos 1.1 include $(TOSDIR)/../apps/Makerules
|
11 girod 1.5 endif
|
12 thanos 1.1 endif
13
|
14 thanos 1.6 PROGRAMMER_EXTRA_FLAGS := -dno-poll -v=2
|
15 eoster 1.2
|
16 ndbusek 1.7 CFLAGS += -I../../../include
17
18 ifdef EMSTAR_ROOT
|
19 ndbusek 1.8 CFLAGS += -I$(EMSTAR_ROOT) -I$(EMSTAR_ROOT)/include
|
20 ndbusek 1.7 endif
21
|
22 eoster 1.2 CFLAGS += $(patsubst %, -I../../../%/tos/interfaces, $(CONTRIB_INCLUDES)) \
|
23 thanos 1.3 $(patsubst %, -I../../../%/tos/platform/$(PLATFORM), $(CONTRIB_INCLUDES)) \
|
24 eoster 1.2 $(patsubst %, -I../../../%/tos/system, $(CONTRIB_INCLUDES)) \
25 $(patsubst %, -I../../../%/tos/lib, $(CONTRIB_INCLUDES)) \
26 $(patsubst %, -I../../../%/tos/sensorboards/$(SENSORBOARD), $(CONTRIB_INCLUDES)) \
27
|