mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-21 22:18:03 +08:00
17 lines
472 B
Makefile
17 lines
472 B
Makefile
|
SDK_VER=$(shell cat sdk.version)
|
||
|
|
||
|
.PHONY: all
|
||
|
|
||
|
MG_PATH = $(realpath $(PWD)/../../)
|
||
|
|
||
|
all:
|
||
|
docker run --rm -it -v $(MG_PATH):/esp32_idf \
|
||
|
$(SDK_VER) \
|
||
|
bash -c "cd esp32_idf/examples/ESP32_IDF && \
|
||
|
make -f Makefile.build defconfig && make -f Makefile.build"
|
||
|
|
||
|
clean:
|
||
|
docker run --rm -it -v $(MG_PATH):/esp32_idf \
|
||
|
$(SDK_VER) \
|
||
|
bash -c "rm -rf esp32_idf/examples/ESP32_IDF/build"
|