From affcef7e37f9c298747bc1880f36667bb53c159e Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Sun, 3 Apr 2022 00:04:58 +0100 Subject: [PATCH] Fix clean targets --- examples/http-client/Makefile | 3 ++- examples/zephyr/Makefile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/http-client/Makefile b/examples/http-client/Makefile index dce6385e..3911369e 100644 --- a/examples/http-client/Makefile +++ b/examples/http-client/Makefile @@ -32,10 +32,11 @@ WFLAGS = /nologo -O2 -I. -I../.. ws2_32.lib advapi32.lib /link /out:$(PROG).exe WSRCS = ../../mongoose.c main.c mbedtls/library/*.c $(PROG).exe: main.c mbedtls $(DOCKER) mdashnet/vc2017 wine cl $(WSRCS) $(WDEFS) $(WFLAGS) +vc2017: ARGS = https://cesanta.com vc2017: $(PROG).exe $(DOCKER) mdashnet/vc2017 wine $(PROG).exe $(ARGS) mbedtls: git clone --depth 1 -b v3.1.0 https://github.com/ARMmbed/mbedtls clean: - rm -rf $(PROG) _CL* *.o *.dSYM *.gcov *.gcno *.gcda *.obj *.exe *.ilk *.pdb + rm -rf $(PROG) _CL* *.o *.dSYM *.gcov *.gcno *.gcda *.obj *.exe *.ilk *.pdb mbedtls diff --git a/examples/zephyr/Makefile b/examples/zephyr/Makefile index 2311a7b3..55643c81 100644 --- a/examples/zephyr/Makefile +++ b/examples/zephyr/Makefile @@ -12,4 +12,4 @@ flash: cd $(ZEPHYR_DIR) && west flash clean: - true + rm -rf */*/mongoose.*