Allow running only specified benchmarks.
authorMilan Straka <fox@ucw.cz>
Thu, 30 Aug 2012 21:39:11 +0000 (23:39 +0200)
committerMilan Straka <fox@ucw.cz>
Thu, 30 Aug 2012 21:39:11 +0000 (23:39 +0200)
benchmarks/Makefile

index a2f3cc2..1539a2a 100644 (file)
@@ -4,7 +4,7 @@ bench-%: %.hs force
        ghc -O2 -DTESTING $< -i../$(TOP) -o $@ -outputdir tmp -rtsopts
 
 bench-%.csv: bench-%
-       ./bench-$* -v -u bench-$*.csv
+       ./bench-$* $(BENCHMARK) -v -u bench-$*.csv
 
 .PHONY: force clean veryclean
 force: