Merge pull request #1796 from cesanta/rpicow

Dettach git clone and fix clean
This commit is contained in:
Sergey Lyubka 2022-10-16 16:59:19 +01:00 committed by GitHub
commit 6b162a1193
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)