NAME ?= $(notdir $(CURDIR))

build:
	git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
	cp ./../../../mongoose.[ch] $(NAME)/Middlewares/Third_Party/Mongoose/
	make -C $(NAME) build

clean:
	rm -rf $(NAME)
