Files
libcoap/examples/contiki/Makefile
T
Olaf Bergmann 68d910f4fe examples/contiki/Makefile: use --depth 1 for cloning Contiki
This change avoids cloning the entire Contiki history when building
the Contiki server example.
2016-06-10 15:10:02 +02:00

12 lines
290 B
Makefile

CONTIKI=contiki
TARGET?=minimal-net
all: server
$(CONTIKI):
git clone --depth 1 https://github.com/contiki-os/contiki.git $@
cd $(CONTIKI)/apps && ln -s ../../../.. libcoap
server: $(CONTIKI)
$(MAKE) -f Makefile.contiki V=1 CONTIKI=$(CONTIKI) TARGET=$(TARGET) NODE_ADDR=0x1000 server