projects
/
sawsim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4735b6
)
Create new phony Makefile targets all_doc and all_bin.
author
W. Trevor King
<wking@drexel.edu>
Tue, 2 Nov 2010 18:18:46 +0000
(14:18 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Tue, 2 Nov 2010 18:18:46 +0000
(14:18 -0400)
src/sawsim.nw
patch
|
blob
|
history
diff --git
a/src/sawsim.nw
b/src/sawsim.nw
index c4ba0716600679b8a9f94cc11bcaa7abafdc3648..96165a6ececc809de3353635e76f18c9c32d51b6 100644
(file)
--- a/
src/sawsim.nw
+++ b/
src/sawsim.nw
@@
-6632,7
+6632,11
@@
BINS = sawsim tension_model_utils k_model_utils sawsim_profile
DOCS = sawsim.pdf
# Define the major targets
-all : ./Makefile $(BINS:%=$(BIN_DIR)/%) $(DOCS:%=$(DOC_DIR)/%) ;
+all : ./Makefile all_bin all_doc
+
+.PHONY: all_bin all_doc
+all_bin : $(BINS:%=$(BIN_DIR)/%)
+all_doc : $(DOCS:%=$(DOC_DIR)/%)
view : $(DOC_DIR)/sawsim.pdf
xpdf $< &