mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-27 15:01:03 +08:00
f3cd74cb46
Add Wizard test script
17 lines
388 B
Makefile
17 lines
388 B
Makefile
ROOT ?= $(realpath $(CURDIR)/../..)
|
|
PROJECTS ?= $(wildcard ../../examples/esp32/*)
|
|
TARGET ?= Debug
|
|
DOCKER = docker run --rm -v $(ROOT):$(ROOT) -v $(CURDIR):/root -w $(CURDIR)
|
|
IMAGE ?= espressif/idf
|
|
|
|
|
|
all: $(PROJECTS)
|
|
echo
|
|
|
|
$(PROJECTS): FORCE
|
|
(make -C $@ build && make -C $@ clean) || ( \
|
|
$(DOCKER) $(IMAGE) /bin/bash -c 'cd $@ && idf.py build' && \
|
|
rm -rf build sdkconfig )
|
|
|
|
FORCE:
|