diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
index 588c290487f7406df5a89afccdc73be98a7332fd..b830e67d1a451f7f4bb4d5a34db11f50b2a3074a 100644
--- a/testsuite/Makefile.am
+++ b/testsuite/Makefile.am
@@ -18,10 +18,8 @@ LDADD = testutils.o ../libnettle.a
 EXTRA_DIST = testutils.c testutils.h \
 	     run-tests rfc1750.txt
 
-.PHONY: check run-tests
-
-check: run-tests
-
+.PHONY: run-tests
 run-tests: $(TS_PROGS)
-	srcdir="$(srcdir)" "$(srcdir)"/run-tests $^
+	srcdir="$(srcdir)" "$(srcdir)"/run-tests $(TS_PROGS)
 
+check: run-tests