Merge pull request #1796 from cesanta/rpicow

Dettach git clone and fix clean
This commit is contained in:
Sergey Lyubka authored and GitHub committed 2022-10-16 16:59:19 +01:00
commit 6b162a1193
1 file changed
+4 -1
@@ -1,9 +1,12 @@
NAME = raspberry-pi-pico-w
build:
$(NAME):
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
build: | $(NAME)
cp ./../../../mongoose.[ch] $(NAME)
make -C $(NAME) build
clean:
make -C $(NAME) clean
rm -rf $(NAME)