mongoose/examples/stm32/stm32-nucleo-f746z/Makefile

18 lines
287 B
Makefile
Raw Normal View History

NAME ?= $(notdir $(CURDIR))
$(NAME):
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
build: | $(NAME)
2021-10-22 18:34:44 +08:00
cp ./../../../mongoose.[ch] $(NAME)/Middlewares/Third_Party/Mongoose/
make -C $(NAME) build
clean:
rm -rf $(NAME)
flash:
make -C $(NAME) flash
.PHONY: flash