mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-16 02:19:18 +08:00
17 lines
306 B
Makefile
17 lines
306 B
Makefile
|
CWD = $(realpath $(CURDIR))
|
||
|
ZEPHYR_DIR ?= $(realpath ../../../../zephyrproject)
|
||
|
BOARD ?= nucleo_h743zi
|
||
|
|
||
|
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.*
|