mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-23 15:57:49 +08:00
14 lines
319 B
Makefile
14 lines
319 B
Makefile
|
SDK ?= $(shell cat sdk.version)
|
||
|
SRC_DIR ?= $(realpath ../../..)
|
||
|
|
||
|
.PHONY: all clean
|
||
|
|
||
|
MAKEFLAGS += w
|
||
|
|
||
|
all clean:
|
||
|
docker run --rm -i -v $(SRC_DIR):/src $(SDK) \
|
||
|
/bin/bash -c "\
|
||
|
make -C /src/mongoose mongoose.c mongoose.h && \
|
||
|
make -C /src/mongoose/examples/STM32F4_CC3100 -f Makefile.build $@ -$(MAKEFLAGS) \
|
||
|
"
|