osd-contiki/examples/osd/servo-sensor/Makefile

34 lines
716 B
Makefile
Raw Permalink Normal View History

EXE=er-example-server
2013-02-22 17:04:19 +01:00
all: $(EXE)
2013-02-22 17:04:19 +01:00
# for some platforms
UIP_CONF_IPV6=1
2013-12-02 15:53:10 +01:00
# IPv6 make config disappeared completely
CFLAGS += -DUIP_CONF_IPV6=1
2013-02-22 17:04:19 +01:00
2013-12-02 15:53:10 +01:00
CONTIKI=../../..
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
CFLAGS += -DUIP_CONF_IPV6_RPL=1
2013-02-22 17:04:19 +01:00
# linker optimizations
SMALL=1
2015-04-03 14:31:25 +02:00
APPS += er-coap
APPS += rest-engine
2013-02-22 17:04:19 +01:00
include $(CONTIKI)/Makefile.include
# border router rules
$(CONTIKI)/tools/tunslip6: $(CONTIKI)/tools/tunslip6.c
(cd $(CONTIKI)/tools && $(MAKE) tunslip6)
connect-router: $(CONTIKI)/tools/tunslip6
sudo $(CONTIKI)/tools/tunslip6 aaaa::1/64
connect-router-cooja: $(CONTIKI)/tools/tunslip6
sudo $(CONTIKI)/tools/tunslip6 -a 127.0.0.1 aaaa::1/64
2013-12-02 15:53:10 +01:00
connect-minimal:
2013-02-22 17:04:19 +01:00
sudo ip address add fdfd::1/64 dev tap0