2017-12-18 16:30:58 +00:00
|
|
|
CONTIKI_PROJECT = border-router
|
|
|
|
all: $(CONTIKI_PROJECT)
|
2017-11-01 13:39:28 +00:00
|
|
|
CONTIKI = ../..
|
2017-10-28 22:48:46 +00:00
|
|
|
|
2017-12-18 16:30:58 +00:00
|
|
|
include $(CONTIKI)/Makefile.identify-target
|
2017-10-31 22:10:37 +00:00
|
|
|
|
|
|
|
ifeq ($(TARGET),native)
|
2017-12-19 13:29:55 +00:00
|
|
|
MODULES_REL += native
|
2017-12-18 17:21:47 +00:00
|
|
|
CFLAGS += -DPROJECT_CONF_PATH=\"native/project-conf.h\"
|
2017-10-31 22:10:37 +00:00
|
|
|
else
|
2017-12-19 13:29:55 +00:00
|
|
|
MODULES_REL += embedded
|
2017-12-18 17:21:47 +00:00
|
|
|
# For embedded platforms, include platform-specific directory
|
2017-12-19 13:29:55 +00:00
|
|
|
MODULES_REL += embedded/$(TARGET)
|
2017-12-18 17:21:47 +00:00
|
|
|
CFLAGS += -DPROJECT_CONF_PATH=\"embedded/project-conf.h\"
|
2017-10-30 22:52:31 +00:00
|
|
|
endif
|
2017-12-19 13:29:55 +00:00
|
|
|
MODULES_REL += common
|
2017-10-31 22:10:37 +00:00
|
|
|
|
2017-10-28 22:48:46 +00:00
|
|
|
include $(CONTIKI)/Makefile.include
|