2011-12-19 13:50:50 +01:00
|
|
|
CONTIKI_PROJECT=slip-radio
|
|
|
|
all: $(CONTIKI_PROJECT)
|
|
|
|
APPS = slip-cmd
|
|
|
|
|
2013-01-30 15:32:41 +01:00
|
|
|
ifeq ($(TARGET),)
|
|
|
|
-include Makefile.target
|
|
|
|
endif
|
|
|
|
|
2011-12-19 13:50:50 +01:00
|
|
|
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
|
2013-02-16 00:17:17 +01:00
|
|
|
ifeq ($(TARGET),nooliberry)
|
|
|
|
PROJECT_SOURCEFILES += slip-radio-rf230.c
|
|
|
|
endif
|
2013-02-19 16:46:05 +01:00
|
|
|
ifeq ($(TARGET),econotag)
|
|
|
|
PROJECT_SOURCEFILES += slip-radio-mc1322x.c
|
|
|
|
endif
|
2011-12-19 13:50:50 +01:00
|
|
|
|
2014-11-12 10:18:29 +01:00
|
|
|
CONTIKI_WITH_RPL = 0
|
|
|
|
CONTIKI_WITH_IPV6 = 1
|
2011-12-19 13:50:50 +01:00
|
|
|
include $(CONTIKI)/Makefile.include
|