mongoose/examples/raspberry/raspberry-pi-pico-w/Makefile

15 lines
320 B
Makefile
Raw Normal View History

2022-10-07 14:08:59 +08:00
NAME = raspberry-pi-pico-w
$(NAME):
2022-10-07 14:08:59 +08:00
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
build: | $(NAME)
2022-10-07 14:08:59 +08:00
cp ./../../../mongoose.[ch] $(NAME)
cp ./../../device-dashboard/packed_fs.c $(NAME)
cp ./../../device-dashboard/net.c $(NAME)
2022-10-07 14:08:59 +08:00
make -C $(NAME) build
clean:
make -C $(NAME) clean
2022-10-07 14:08:59 +08:00
rm -rf $(NAME)