osd-contiki/examples/ipv6/slip-radio/Makefile
Johannes Gilger 3877f361e4 Load Makefile.target for slip-radio
This loads Makefile.target into Makefile so we can check for TARGET==sky
when building this. Compilation for sky fails without it.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2013-01-30 15:34:06 +01:00

25 lines
439 B
Makefile

CONTIKI_PROJECT=slip-radio
all: $(CONTIKI_PROJECT)
APPS = slip-cmd
ifeq ($(TARGET),)
-include Makefile.target
endif
CONTIKI=../../..
WITH_UIP6=1
UIP_CONF_IPV6=1
UIP_CONF_RPL=0
#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
include $(CONTIKI)/Makefile.include