Improve examples make target names
authorKevin M. Rosenberg <kevin@rosenberg.net>
Tue, 13 Feb 2018 00:40:09 +0000 (17:40 -0700)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Tue, 13 Feb 2018 00:40:09 +0000 (17:40 -0700)
examples/Makefile

index 5ed7d856c1d04729cfa92ad9617823b700a5d7f7..d5111c3855c0ebcd779e296313ff71c401612378 100644 (file)
@@ -1,18 +1,18 @@
-.PHONY: all run_all regression
+.PHONY: all run test output clean
 
-all:
-       @echo "Useful targets: run_all, regression, results"
-
-run_all: .have_run
+all: run
+       @echo "Useful make targets: run, test, output"
 
 .have_run:
        @./run_all
        @touch .have_run
 
-regression: .have_run
+run: .have_run
+
+test: .have_run
        @./regression
 
-results: .have_run
+output: .have_run
        @less */b[0-9].out */b[0-9][0-9].out
 
 clean: