mongoose/examples/rp2040/pico-w5500/Makefile

14 lines
296 B
Makefile
Raw Normal View History

2023-01-03 00:24:27 +08:00
SDK_VERSION ?= 1.4.0
SDK_REPO ?= https://github.com/raspberrypi/pico-sdk
all example build: pico-sdk
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:
rm -rf pico-sdk build