osd-contiki/examples/osd/slip-radio/Makefile

36 lines
725 B
Makefile
Raw Normal View History

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
avr-size: $(EXE).$(TARGET).sz
flash: $(EXE).$(TARGET).u $(EXE).$(TARGET).eu
.PHONY: flash avr-size
.PRECIOUS: $(EXE).$(TARGET).hex $(EXE).$(TARGET).eep