projects
/
snark14.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add ubuntu package to INSTALL
[snark14.git]
/
examples
/
Makefile
diff --git
a/examples/Makefile
b/examples/Makefile
index cd5793b1ec1ea597242ee2337b22690c14d4743b..d5111c3855c0ebcd779e296313ff71c401612378 100644
(file)
--- a/
examples/Makefile
+++ b/
examples/Makefile
@@
-1,15
+1,22
@@
-.PHONY: all run
_all regressio
n
+.PHONY: all run
test output clea
n
-all:
- @echo "Use
run_all or regression
"
+all:
run
+ @echo "Use
ful 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/*
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