diff --git a/Makefile b/Makefile
index c032bbc9310c19dcd4c0c73f2398f198d2fc20e9..52401514d93f0ca1ec531d7f1fa937d0448d11eb 100644
--- a/Makefile
+++ b/Makefile
@@ -303,4 +303,4 @@ tests/seek_test$(EXESUF): tests/seek_test.c $(FF_DEP_LIBS)
 	$(CC) $(FF_LDFLAGS) $(CFLAGS) -o $@ $< $(FF_EXTRALIBS)
 
 
-.PHONY: lib documentation *test regtest-* testclean swscale-error zlib-error alltools check
+.PHONY: lib documentation *test regtest-* swscale-error zlib-error alltools check
diff --git a/common.mak b/common.mak
index c26625b2fce7f6a78ac7fca64ed85581ce86aac8..9b1ebd734171048c5738f8fa412fa9f533526c8c 100644
--- a/common.mak
+++ b/common.mak
@@ -54,7 +54,7 @@ install: install-libs install-headers
 
 uninstall: uninstall-libs uninstall-headers
 
-.PHONY: all depend dep clean distclean install* uninstall* tests
+.PHONY: all depend dep *clean install* uninstall* tests
 endif
 
 CFLAGS   += $(CFLAGS-yes)