mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-22 23:28:06 +08:00
511c9a6d4a
PUBLISHED_FROM=0e407a2fb328107540d753123fe027f43860d0ef
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"
|