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

22 lines
434 B
Makefile
Raw Normal View History

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
CFLAGS += -DPROJECT_CONF_PATH=\"$(SOURCES_DIR)/project-conf.h\"
include $(CONTIKI)/Makefile.include