Create new phony Makefile targets all_doc and all_bin.
[sawsim.git] / src / sawsim.nw
index c4ba0716600679b8a9f94cc11bcaa7abafdc3648..96165a6ececc809de3353635e76f18c9c32d51b6 100644 (file)
@@ -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 $< &