chiark / gitweb /
Tents: mark squares as non-tents with {Shift,Control}-cursor keys.
[sgt-puzzles.git] / Recipe
diff --git a/Recipe b/Recipe
index a2d30908b2873d7ecf432771f5b779120e3eff4e..ba8317f51a090c4ced54d305cdae2e1e212df4f0 100644 (file)
--- a/Recipe
+++ b/Recipe
@@ -142,11 +142,16 @@ test: benchmark.html benchmark.txt
 benchmark.html: benchmark.txt benchmark.pl
        ./benchmark.pl benchmark.txt > $@
 
-benchmark.txt: $(GAMES)
-       for i in $(GAMES); do \
-               for params in $$(env -i ./$(BINPREFIX)$$i --list-presets | cut -f1 -d' '); do \
-                       env -i ./$(BINPREFIX)$$i --test-solve --time-generation --generate 100 $$params \
-                       || exit 1; \
-               done; \
-       done > $@
+benchmark.txt: benchmark.sh $(GAMES)
+       ./benchmark.sh > $@
+
+!end
+!begin am
+test: benchmark.html benchmark.txt
+
+benchmark.html: benchmark.txt benchmark.pl
+       ./benchmark.pl benchmark.txt > $@
+
+benchmark.txt: benchmark.sh $(GAMES)
+       ./benchmark.sh > $@
 !end