From ea9556a76e4aeb5716e70d0f7914c73f89eaa715 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= <mpg@elzevir.fr>
Date: Thu, 25 Jun 2015 14:18:20 +0200
Subject: [PATCH] Fix mistaken changes in Makefile's clean target

I was a bit too trigger-happy with copy-pasting in a previous commit...
---
 programs/Makefile | 2 +-
 tests/Makefile    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/programs/Makefile b/programs/Makefile
index b23b11fe4e..f62e2c68d6 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 ae84b61b13..731dcd908c 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