mongoose/examples/zephyr/http-client/Makefile
2022-04-20 09:28:36 +03:00

17 lines
312 B
Makefile

CWD = $(realpath $(CURDIR))
ZEPHYR_DIR ?= $(realpath ../../../../../../zephyrproject)
BOARD ?= nucleo_f746zg
example:
true
build:
cp ../../../mongoose.c ../../../mongoose.h src/
cd $(ZEPHYR_DIR) && west build -b $(BOARD) -p auto $(CWD)
flash:
cd $(ZEPHYR_DIR) && west flash
clean:
rm -rf */*/mongoose.*