X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=examples%2FMakefile;h=d5111c3855c0ebcd779e296313ff71c401612378;hb=63a97f8283cc62c33261d5ea41e678cc2a09eb9c;hp=f5c92f97d061cd75f4a592b8abb6abb2bc79ea08;hpb=7f00420c23e31db8b519ea7d665e5a74f3d9d980;p=snark14.git diff --git a/examples/Makefile b/examples/Makefile index f5c92f9..d5111c3 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,16 +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].out */b1[0-9].out */file11 */prjfil */recfil */eval */src/.o b1/punch b10/eval \ - b11/RPRTsuperiorization b11/RPRTklds */MAPUser1 b9/src/*.o b9/snark_e.in b9/snark_e.out \ - b9/testem.1 b9/fomfil.1 */snark.lock */bin/* + @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 */RPRTsuperiorization */RPRTklds b9/snark_e.in b9/snark_e.out b9/testem.1 b9/fomfil.1 + @rm -f .have_run