mongoose/examples/rp2040/pico-rndis-dashboard/Makefile

17 lines
304 B
Makefile
Raw Normal View History

2023-01-03 03:49:15 +08:00
SDK_VERSION ?= 1.4.0
SDK_REPO ?= https://github.com/raspberrypi/pico-sdk
all example:
2023-01-03 03:49:15 +08:00
true
build: pico-sdk
2023-01-03 03:49:15 +08:00
test -d build || mkdir build
cd build && cmake .. && make
pico-sdk:
git clone --depth 1 -b $(SDK_VERSION) $(SDK_REPO) $@
cd $@ && git submodule update --init
clean:
2023-01-18 00:54:22 +08:00
rm -rf pico-sdk build