mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 16:29:34 +00:00
23 lines
473 B
Makefile
23 lines
473 B
Makefile
CONTIKI_PROJECT = node
|
|
all: $(CONTIKI_PROJECT)
|
|
|
|
CONTIKI=../../..
|
|
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
|
|
CONTIKI_WITH_IPV6 = 1
|
|
MAKE_WITH_ORCHESTRA ?= 0 # force Orchestra from command line
|
|
MAKE_WITH_SECURITY ?= 0 # force Security from command line
|
|
|
|
APPS += orchestra
|
|
MODULES += core/net/mac/tsch
|
|
|
|
ifeq ($(MAKE_WITH_ORCHESTRA),1)
|
|
CFLAGS += -DWITH_ORCHESTRA=1
|
|
endif
|
|
|
|
ifeq ($(MAKE_WITH_SECURITY),1)
|
|
CFLAGS += -DWITH_SECURITY=1
|
|
endif
|
|
|
|
include $(CONTIKI)/Makefile.include
|