mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-07 16:01:30 +00:00
Merge pull request #1730 from cesanta/stm32-nucleo-f429z
Update Makefile as per the tutorial
This commit is contained in:
1 file changed
+9
-1
@@ -1,9 +1,17 @@
|
|||||||
NAME ?= $(notdir $(CURDIR))
|
NAME ?= $(notdir $(CURDIR))
|
||||||
|
|
||||||
build:
|
$(NAME):
|
||||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||||
|
|
||||||
|
build: | $(NAME)
|
||||||
cp ./../../../mongoose.[ch] $(NAME)/Middlewares/Third_Party/Mongoose/
|
cp ./../../../mongoose.[ch] $(NAME)/Middlewares/Third_Party/Mongoose/
|
||||||
make -C $(NAME) build
|
make -C $(NAME) build
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(NAME)
|
rm -rf $(NAME)
|
||||||
|
|
||||||
|
flash:
|
||||||
|
make -C $(NAME) flash
|
||||||
|
|
||||||
|
.PHONY: flash
|
||||||
|
|
||||||
Reference in new issue
Block a user