From: W. Trevor King Date: Tue, 2 Nov 2010 18:18:46 +0000 (-0400) Subject: Create new phony Makefile targets all_doc and all_bin. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9abb6db5b03815ba2ff247c959ada5ba891d4904;p=sawsim.git Create new phony Makefile targets all_doc and all_bin. --- 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 $< &