mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-08 16:11:18 +00:00
Simplify build
This commit is contained in:
1 parent
2dc66b2e3b
commit
45f7afb3e1
2 files changed
+2
-5
No files matched your search
@@ -1,14 +1,10 @@
|
|||||||
SDK_VERSION ?= 1.4.0
|
SDK_VERSION ?= 1.4.0
|
||||||
SDK_REPO ?= https://github.com/raspberrypi/pico-sdk
|
SDK_REPO ?= https://github.com/raspberrypi/pico-sdk
|
||||||
|
|
||||||
FILES_TO_EMBED ?= $(wildcard web_root/*)
|
|
||||||
|
|
||||||
example:
|
example:
|
||||||
true
|
true
|
||||||
|
|
||||||
all build: pico-sdk
|
all build: pico-sdk
|
||||||
$(CC) ../../../test/pack.c -o pack
|
|
||||||
./pack $(FILES_TO_EMBED) > packed_fs.c
|
|
||||||
test -d build || mkdir build
|
test -d build || mkdir build
|
||||||
cd build && cmake .. && make
|
cd build && cmake .. && make
|
||||||
|
|
||||||
@@ -17,4 +13,4 @@ pico-sdk:
|
|||||||
cd $@ && git submodule update --init
|
cd $@ && git submodule update --init
|
||||||
|
|
||||||
clean:
|
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