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