mongoose/examples/rp2040/pico-w/Makefile

14 lines
297 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:
rm -rf $(NAME)