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

22 lines
457 B
Makefile

PROJECTDIRS += common
PREFIX ?= fd00::1/64
CONTIKI = ../..
-include $(CONTIKI)/Makefile.identify-target
all: border-router.$(TARGET)
ifeq ($(TARGET),native)
SOURCES_DIR = native
else
SOURCES_DIR = embedded
endif
include $(SOURCES_DIR)/Makefile
PROJECTDIRS += $(SOURCES_DIR)
PROJECT_SOURCEFILES += httpd-simple.c webserver.c border-router-common.c
CFLAGS += -DPROJECT_CONF_PATH=\"$(SOURCES_DIR)/project-conf.h\"
include $(CONTIKI)/Makefile.include