2021-10-04 17:54:15 +08:00
|
|
|
NAME ?= $(notdir $(CURDIR))
|
|
|
|
|
|
|
|
build:
|
|
|
|
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
2021-10-22 17:57:15 +08:00
|
|
|
cp ./../../../mongoose.[ch] $(NAME)/mongoose/
|
2021-10-04 17:54:15 +08:00
|
|
|
make -C $(NAME) build
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf $(NAME)
|