mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-04 17:02:56 +03:00
16 lines
399 B
Makefile
16 lines
399 B
Makefile
CONTIKI=contiki-ng
|
|
TARGET?=native
|
|
|
|
all: server
|
|
|
|
$(CONTIKI):
|
|
git clone --depth 1 https://github.com/contiki-ng/contiki-ng.git $@
|
|
cd $(CONTIKI)/os/net/app-layer && rm -rf libcoap && ln -s ../../../../../.. libcoap
|
|
|
|
server: $(CONTIKI)
|
|
$(MAKE) -f Makefile.contiki CONTIKI=$(CONTIKI) TARGET=$(TARGET) server
|
|
|
|
clean:
|
|
$(MAKE) -f Makefile.contiki CONTIKI=$(CONTIKI) TARGET=$(TARGET) clean
|
|
rm -rf build
|