mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-12 07:29:04 +08:00
18 lines
287 B
Makefile
18 lines
287 B
Makefile
NAME ?= $(notdir $(CURDIR))
|
|
|
|
$(NAME):
|
|
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
|
|
|
build: | $(NAME)
|
|
cp ./../../../mongoose.[ch] $(NAME)/Middlewares/Third_Party/Mongoose/
|
|
make -C $(NAME) build
|
|
|
|
clean:
|
|
rm -rf $(NAME)
|
|
|
|
flash:
|
|
make -C $(NAME) flash
|
|
|
|
.PHONY: flash
|
|
|