2022-03-31 17:42:09 +01:00

16 lines
286 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:
true