chiark / gitweb /
Add the 'make test' target to Makefile.am too.
authorSimon Tatham <anakin@pobox.com>
Mon, 18 May 2015 15:41:06 +0000 (16:41 +0100)
committerSimon Tatham <anakin@pobox.com>
Mon, 18 May 2015 15:41:06 +0000 (16:41 +0100)
Now I don't have to annoyingly switch over to the GTK makefile.

Recipe

diff --git a/Recipe b/Recipe
index 4515ab9b5eca57a82f50f184e379106a5520b0e2..ba8317f51a090c4ced54d305cdae2e1e212df4f0 100644 (file)
--- a/Recipe
+++ b/Recipe
@@ -146,3 +146,12 @@ 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