26 lines
563 B
Makefile
26 lines
563 B
Makefile
CONTIKI_PROJECT=slip-radio
|
|
all: $(CONTIKI_PROJECT)
|
|
APPS = slip-cmd
|
|
|
|
ifeq ($(TARGET),)
|
|
-include Makefile.target
|
|
endif
|
|
|
|
CONTIKI=../../..
|
|
|
|
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
|
|
|
|
CONTIKI_WITH_RPL = 0
|
|
CONTIKI_WITH_IPV6 = 1
|
|
include $(CONTIKI)/Makefile.include
|