mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
programs: Make make clean clean all programs always
If `make TEST_CPP:=1` is run, and then `make clean` (as opposed to `make TEST_CPP:=1 clean`), the cpp_dummy_build will be left behind after the clean. Make `make clean more convenient to use by removing programs that could be generated from any configuration, not just the active one. Fixes #1862
This commit is contained in:
parent
16529b21fa
commit
0c42e908e5
2 changed files with 3 additions and 0 deletions
|
|
@ -296,6 +296,8 @@ x509/req_app$(EXEXT): x509/req_app.c $(DEP)
|
|||
clean:
|
||||
ifndef WINDOWS
|
||||
rm -f $(APPS)
|
||||
-rm -f ssl/ssl_pthread_server$(EXEXT)
|
||||
-rm -f test/cpp_dummy_build$(EXEXT)
|
||||
else
|
||||
del /S /Q /F *.o *.exe
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue