mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-16 10:39:49 +00:00
Add new example as per the tutorial
This commit is contained in:
1 parent
15c5858732
commit
770ffd1483
1 file changed
+18
@@ -0,0 +1,18 @@
|
||||
NAME ?= $(notdir $(CURDIR))
|
||||
|
||||
$(NAME):
|
||||
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
|
||||
|
||||
build: | $(NAME)
|
||||
cp ./../../../mongoose.c $(NAME)/Core/Src/
|
||||
cp ./../../../mongoose.h $(NAME)/Core/Inc/
|
||||
make -C $(NAME) build
|
||||
|
||||
clean:
|
||||
rm -rf $(NAME)
|
||||
|
||||
flash:
|
||||
make -C $(NAME) flash
|
||||
|
||||
.PHONY: flash
|
||||
|
||||
Reference in new issue
Block a user