Fix clean targets

This commit is contained in:
Sergey Lyubka 2022-04-03 00:04:58 +01:00
parent b5fcf95b88
commit affcef7e37
2 changed files with 3 additions and 2 deletions

View File

@ -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 WSRCS = ../../mongoose.c main.c mbedtls/library/*.c
$(PROG).exe: main.c mbedtls $(PROG).exe: main.c mbedtls
$(DOCKER) mdashnet/vc2017 wine cl $(WSRCS) $(WDEFS) $(WFLAGS) $(DOCKER) mdashnet/vc2017 wine cl $(WSRCS) $(WDEFS) $(WFLAGS)
vc2017: ARGS = https://cesanta.com
vc2017: $(PROG).exe vc2017: $(PROG).exe
$(DOCKER) mdashnet/vc2017 wine $(PROG).exe $(ARGS) $(DOCKER) mdashnet/vc2017 wine $(PROG).exe $(ARGS)
mbedtls: mbedtls:
git clone --depth 1 -b v3.1.0 https://github.com/ARMmbed/mbedtls git clone --depth 1 -b v3.1.0 https://github.com/ARMmbed/mbedtls
clean: 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

View File

@ -12,4 +12,4 @@ flash:
cd $(ZEPHYR_DIR) && west flash cd $(ZEPHYR_DIR) && west flash
clean: clean:
true rm -rf */*/mongoose.*