2016-04-22 17:51:59 +02:00
|
|
|
EXE=slip-radio
|
|
|
|
all: $(EXE)
|
2014-11-20 16:32:22 +01:00
|
|
|
APPS = slip-cmd
|
|
|
|
|
|
|
|
ifeq ($(TARGET),)
|
|
|
|
-include Makefile.target
|
|
|
|
endif
|
|
|
|
|
|
|
|
CONTIKI=../../..
|
|
|
|
|
|
|
|
#linker optimizations
|
|
|
|
SMALL=1
|
|
|
|
|
|
|
|
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
|
|
PROJECT_SOURCEFILES += slip-net.c no-framer.c
|
|
|
|
ifeq ($(TARGET),sky)
|
|
|
|
PROJECT_SOURCEFILES += slip-radio-cc2420.c slip-radio-sky-sensors.c
|
|
|
|
endif
|
|
|
|
ifeq ($(TARGET),nooliberry)
|
|
|
|
PROJECT_SOURCEFILES += slip-radio-rf230.c
|
|
|
|
endif
|
|
|
|
ifeq ($(TARGET),econotag)
|
|
|
|
PROJECT_SOURCEFILES += slip-radio-mc1322x.c
|
|
|
|
endif
|
|
|
|
|
2015-05-15 20:59:59 +02:00
|
|
|
CONTIKI_WITH_RPL = 0
|
|
|
|
CONTIKI_WITH_IPV6 = 1
|
2014-11-20 16:32:22 +01:00
|
|
|
include $(CONTIKI)/Makefile.include
|