mongoose/examples/zephyr/Makefile
2022-04-03 00:04:58 +01:00

16 lines
303 B
Makefile

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