2017-10-31 22:10:37 +00:00
|
|
|
PROJECTDIRS += common
|
2017-11-01 13:39:28 +00:00
|
|
|
PREFIX ?= fd00::1/64
|
|
|
|
CONTIKI = ../..
|
2017-10-28 22:48:46 +00:00
|
|
|
|
2017-11-01 13:39:28 +00:00
|
|
|
-include $(CONTIKI)/Makefile.identify-target
|
2017-10-31 22:10:37 +00:00
|
|
|
|
|
|
|
all: border-router.$(TARGET)
|
|
|
|
|
|
|
|
ifeq ($(TARGET),native)
|
|
|
|
SOURCES_DIR = native
|
|
|
|
else
|
|
|
|
SOURCES_DIR = embedded
|
2017-10-30 22:52:31 +00:00
|
|
|
endif
|
|
|
|
|
2017-10-31 22:10:37 +00:00
|
|
|
include $(SOURCES_DIR)/Makefile
|
|
|
|
|
|
|
|
PROJECTDIRS += $(SOURCES_DIR)
|
|
|
|
CFLAGS += -DPROJECT_CONF_PATH=\"$(SOURCES_DIR)/project-conf.h\"
|
|
|
|
|
2017-10-28 22:48:46 +00:00
|
|
|
include $(CONTIKI)/Makefile.include
|