diff --git a/test/valgrind/Makefile b/test/valgrind/Makefile
index cead46c3d7983b9edffbdb71d4011ee8c0df53e3..5cb0d62268025e84ab2cf3aa20c3640496baa3b2 100644
--- a/test/valgrind/Makefile
+++ b/test/valgrind/Makefile
@@ -32,8 +32,9 @@ runnew:
 supp: *.supp
 	cat *.supp > ../../gxml.supp
 
+# use this like 'make run SUBJECT=./attributes'
 run: all
-	G_SLICE=always-malloc valgrind --leak-check=full --show-reachable=yes --suppressions=libxml2.supp --suppressions=gio.supp --suppressions=gtype.supp --suppressions=glib.supp --num-callers=40 ./document_create_minimal
+	G_SLICE=always-malloc valgrind --leak-check=full --show-reachable=yes --suppressions=libxml2.supp --suppressions=gio.supp --suppressions=gtype.supp --suppressions=glib.supp --num-callers=40 ${SUBJECT}
 
 run_nosupp:
 	G_SLICE=always-malloc valgrind --leak-check=full --show-reachable=yes --num-callers=40 ./document