nes-proj/examples/rpl-border-router/Makefile

19 lines
475 B
Makefile
Raw Normal View History

2017-12-18 16:30:58 +00:00
CONTIKI_PROJECT = border-router
all: $(CONTIKI_PROJECT)
CONTIKI = ../..
2017-12-18 16:30:58 +00:00
include $(CONTIKI)/Makefile.identify-target
ifeq ($(TARGET),native)
PROJECTDIRS += native
CFLAGS += -DPROJECT_CONF_PATH=\"native/project-conf.h\"
else
PROJECTDIRS += embedded
# For embedded platforms, include platform-specific directory
PROJECTDIRS += embedded/$(TARGET)
CFLAGS += -DPROJECT_CONF_PATH=\"embedded/project-conf.h\"
endif
2017-12-18 16:30:58 +00:00
PROJECTDIRS += common
include $(CONTIKI)/Makefile.include