diff --git a/testsuite/Makefile.in b/testsuite/Makefile.in
index c12575e70296e63fb50c6d38c886ba63239fdd81..d9180500739d1c713917d3b87f962b0156b5b622 100644
--- a/testsuite/Makefile.in
+++ b/testsuite/Makefile.in
@@ -76,7 +76,7 @@ distdir: $(DISTFILES)
 	cp $? $(distdir)
 
 clean:
-	-rm -f $(TARGETS) *.o test.in test1.out test2.out
+	-rm -f $(TARGETS) $(EXTRA_TARGETS) *.o test.in test1.out test2.out
 
 distclean: clean
 	-rm -f Makefile *.d