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 PROGRAMMER_EXTRA_FLAGS := -dno-poll -v=2
|
15 eoster 1.2
|
16 nithya 1.4 CFLAGS += -I../../../include
|
17 eoster 1.2 CFLAGS += $(patsubst %, -I../../../%/tos/interfaces, $(CONTRIB_INCLUDES)) \
|
18 thanos 1.3 $(patsubst %, -I../../../%/tos/platform/$(PLATFORM), $(CONTRIB_INCLUDES)) \
|
19 eoster 1.2 $(patsubst %, -I../../../%/tos/system, $(CONTRIB_INCLUDES)) \
20 $(patsubst %, -I../../../%/tos/lib, $(CONTRIB_INCLUDES)) \
21 $(patsubst %, -I../../../%/tos/sensorboards/$(SENSORBOARD), $(CONTRIB_INCLUDES)) \
22
|