mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-24 11:09:01 +08:00
Update Makefile as per the tutorial, enhance it
This commit is contained in:
parent
15c5858732
commit
9373e77636
@ -1,9 +1,17 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
build:
|
||||
$(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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user