X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=examples%2FMakefile;h=d5111c3855c0ebcd779e296313ff71c401612378;hb=HEAD;hp=cd5793b1ec1ea597242ee2337b22690c14d4743b;hpb=a8637efd1e24772e740f0ec32d1401441f706c48;p=snark14.git diff --git a/examples/Makefile b/examples/Makefile index cd5793b..d5111c3 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,15 +1,22 @@ -.PHONY: all run_all regression +.PHONY: all run test output clean -all: - @echo "Use run_all or regression" +all: run + @echo "Useful make targets: run, test, output" -run_all: - ./run_all +.have_run: + @./run_all + @touch .have_run -regression: - ./regression +run: .have_run + +test: .have_run + @./regression + +output: .have_run + @less */b[0-9].out */b[0-9][0-9].out clean: @rm -f */b[0-9][0-9].out */b1[0-9].out */file11 */prjfil */recfil */eval */src/.o */punch b*/src/*.o */MAPUser1 */snark.lock b*/bin/* - @rm -f b11/RPRTsuperiorization b11/RPRTklds b9/snark_e.in b9/snark_e.out b9/testem.1 b9/fomfil.1 + @rm -f */RPRTsuperiorization */RPRTklds b9/snark_e.in b9/snark_e.out b9/testem.1 b9/fomfil.1 + @rm -f .have_run