mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-02 06:22:52 +07:00
Simplify build
This commit is contained in:
@@ -1,14 +1,10 @@
|
||||
SDK_VERSION ?= 1.4.0
|
||||
SDK_REPO ?= https://github.com/raspberrypi/pico-sdk
|
||||
|
||||
FILES_TO_EMBED ?= $(wildcard web_root/*)
|
||||
|
||||
example:
|
||||
true
|
||||
|
||||
all build: pico-sdk
|
||||
$(CC) ../../../test/pack.c -o pack
|
||||
./pack $(FILES_TO_EMBED) > packed_fs.c
|
||||
test -d build || mkdir build
|
||||
cd build && cmake .. && make
|
||||
|
||||
@@ -17,4 +13,4 @@ pico-sdk:
|
||||
cd $@ && git submodule update --init
|
||||
|
||||
clean:
|
||||
rm -rf pico-sdk build pack
|
||||
rm -rf pico-sdk build
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
../../device-dashboard/packed_fs.c
|
||||
Reference in New Issue
Block a user