mirror of
https://github.com/cesanta/mongoose.git
synced 2025-07-25 22:56:16 +08:00
Add new example as per the tutorial
This commit is contained in:
parent
15c5858732
commit
770ffd1483
18
examples/stm32/stm32-nucleo-f746zg/Makefile
Normal file
18
examples/stm32/stm32-nucleo-f746zg/Makefile
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
NAME ?= $(notdir $(CURDIR))
|
||||||
|
|
||||||
|
$(NAME):
|
||||||
|
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||||
|
|
||||||
|
build: | $(NAME)
|
||||||
|
cp ./../../../mongoose.c $(NAME)/Core/Src/
|
||||||
|
cp ./../../../mongoose.h $(NAME)/Core/Inc/
|
||||||
|
make -C $(NAME) build
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf $(NAME)
|
||||||
|
|
||||||
|
flash:
|
||||||
|
make -C $(NAME) flash
|
||||||
|
|
||||||
|
.PHONY: flash
|
||||||
|
|
Loading…
Reference in New Issue
Block a user