From 9abb6db5b03815ba2ff247c959ada5ba891d4904 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 2 Nov 2010 14:18:46 -0400 Subject: [PATCH] Create new phony Makefile targets all_doc and all_bin. --- src/sawsim.nw | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/sawsim.nw b/src/sawsim.nw index c4ba071..96165a6 100644 --- 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 $< & -- 2.26.2