diff --git a/programs/Makefile b/programs/Makefile index b23b11fe4..f62e2c68d 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -267,7 +267,7 @@ clean: ifndef WINDOWS rm -f $(APPS) else - del /Q /F *.c *.exe + del /S /Q /F *.o *.exe endif list: diff --git a/tests/Makefile b/tests/Makefile index ae84b61b1..731dcd908 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -424,7 +424,7 @@ test_suite_version$(EXEXT): test_suite_version.c $(DEP) clean: ifndef WINDOWS - rm -f $(APPS) + rm -f $(APPS) *.c else del /Q /F *.c *.exe endif