From: bangerth Date: Tue, 20 Mar 2012 19:08:56 +0000 (+0000) Subject: Provide a target 'all' in all Makefiles that simply builds the application. This... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a50f84df21464c2c361fde1437687afe6a1b6b71;p=dealii-svn.git Provide a target 'all' in all Makefiles that simply builds the application. This is not strictly necessary, but it is standard for many projects to have such a target, and Eclipse for example automatically does 'make all' before it runs an executable -- which currently of course fails, and then sometimes simply leads to running an executable that isn't up to date. Since this is easily avoided, do so throughout. git-svn-id: https://svn.dealii.org/trunk@25312 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/development/Makefile.small b/deal.II/doc/development/Makefile.small index 2b634d6364..5d4bc0aebb 100644 --- a/deal.II/doc/development/Makefile.small +++ b/deal.II/doc/development/Makefile.small @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-1/Makefile b/deal.II/examples/step-1/Makefile index 084f822e9a..e02ddaa438 100644 --- a/deal.II/examples/step-1/Makefile +++ b/deal.II/examples/step-1/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-10/Makefile b/deal.II/examples/step-10/Makefile index baba24a2be..d2a4b25338 100644 --- a/deal.II/examples/step-10/Makefile +++ b/deal.II/examples/step-10/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-11/Makefile b/deal.II/examples/step-11/Makefile index 280c87c148..d931cbf17b 100644 --- a/deal.II/examples/step-11/Makefile +++ b/deal.II/examples/step-11/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-12/Makefile b/deal.II/examples/step-12/Makefile index 3d40aaa78a..157b9b238e 100644 --- a/deal.II/examples/step-12/Makefile +++ b/deal.II/examples/step-12/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-13/Makefile b/deal.II/examples/step-13/Makefile index 3d9ca159dd..3b648a3ae8 100644 --- a/deal.II/examples/step-13/Makefile +++ b/deal.II/examples/step-13/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-14/Makefile b/deal.II/examples/step-14/Makefile index 78e15dcdad..2f6033c359 100644 --- a/deal.II/examples/step-14/Makefile +++ b/deal.II/examples/step-14/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-15/Makefile b/deal.II/examples/step-15/Makefile index 4ecede1912..19de7f32d8 100644 --- a/deal.II/examples/step-15/Makefile +++ b/deal.II/examples/step-15/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-16/Makefile b/deal.II/examples/step-16/Makefile index bc5abffe76..ec484f95e0 100644 --- a/deal.II/examples/step-16/Makefile +++ b/deal.II/examples/step-16/Makefile @@ -72,6 +72,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -113,7 +114,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-17/Makefile b/deal.II/examples/step-17/Makefile index b4b2082cbb..7a758ed199 100644 --- a/deal.II/examples/step-17/Makefile +++ b/deal.II/examples/step-17/Makefile @@ -105,6 +105,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -146,7 +147,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-18/Makefile b/deal.II/examples/step-18/Makefile index 1be975a618..927bbdbbc5 100644 --- a/deal.II/examples/step-18/Makefile +++ b/deal.II/examples/step-18/Makefile @@ -105,6 +105,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -146,7 +147,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-19/Makefile b/deal.II/examples/step-19/Makefile index 35913edcb3..8c6307d53a 100644 --- a/deal.II/examples/step-19/Makefile +++ b/deal.II/examples/step-19/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-2/Makefile b/deal.II/examples/step-2/Makefile index f02d72a574..d1b8389bae 100644 --- a/deal.II/examples/step-2/Makefile +++ b/deal.II/examples/step-2/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-20/Makefile b/deal.II/examples/step-20/Makefile index 595a981071..bc9c6619a6 100644 --- a/deal.II/examples/step-20/Makefile +++ b/deal.II/examples/step-20/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-21/Makefile b/deal.II/examples/step-21/Makefile index ae6d725b29..083fcc03b0 100644 --- a/deal.II/examples/step-21/Makefile +++ b/deal.II/examples/step-21/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-22/Makefile b/deal.II/examples/step-22/Makefile index b9aabf3c6e..8278a82fb4 100644 --- a/deal.II/examples/step-22/Makefile +++ b/deal.II/examples/step-22/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-23/Makefile b/deal.II/examples/step-23/Makefile index 22f932d5ff..5a8afdaf87 100644 --- a/deal.II/examples/step-23/Makefile +++ b/deal.II/examples/step-23/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-24/Makefile b/deal.II/examples/step-24/Makefile index 930c3342f6..88cc972b79 100644 --- a/deal.II/examples/step-24/Makefile +++ b/deal.II/examples/step-24/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-25/Makefile b/deal.II/examples/step-25/Makefile index 04c73a68ca..d8b77a4052 100644 --- a/deal.II/examples/step-25/Makefile +++ b/deal.II/examples/step-25/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-26/Makefile b/deal.II/examples/step-26/Makefile index d1f8135f29..ebd19938bf 100644 --- a/deal.II/examples/step-26/Makefile +++ b/deal.II/examples/step-26/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-27/Makefile b/deal.II/examples/step-27/Makefile index 11266f695b..5b92ac4f5c 100644 --- a/deal.II/examples/step-27/Makefile +++ b/deal.II/examples/step-27/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-28/Makefile b/deal.II/examples/step-28/Makefile index ebe87a982d..95ac8e5e7e 100644 --- a/deal.II/examples/step-28/Makefile +++ b/deal.II/examples/step-28/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-29/Makefile b/deal.II/examples/step-29/Makefile index 82fbbb29a9..b4972d4e84 100644 --- a/deal.II/examples/step-29/Makefile +++ b/deal.II/examples/step-29/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-3/Makefile b/deal.II/examples/step-3/Makefile index a6e8e24895..313c8e6200 100644 --- a/deal.II/examples/step-3/Makefile +++ b/deal.II/examples/step-3/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-30/Makefile b/deal.II/examples/step-30/Makefile index 86781f4373..366c85901c 100644 --- a/deal.II/examples/step-30/Makefile +++ b/deal.II/examples/step-30/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-31/Makefile b/deal.II/examples/step-31/Makefile index 5363550163..95f7d2f7ba 100644 --- a/deal.II/examples/step-31/Makefile +++ b/deal.II/examples/step-31/Makefile @@ -92,6 +92,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -135,7 +136,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-32/Makefile b/deal.II/examples/step-32/Makefile index 317538fb05..40d652c2a2 100644 --- a/deal.II/examples/step-32/Makefile +++ b/deal.II/examples/step-32/Makefile @@ -93,6 +93,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -136,7 +137,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-33/Makefile b/deal.II/examples/step-33/Makefile index e97f74f33b..89add1e5e9 100644 --- a/deal.II/examples/step-33/Makefile +++ b/deal.II/examples/step-33/Makefile @@ -99,6 +99,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -140,7 +141,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-34/Makefile b/deal.II/examples/step-34/Makefile index 67e03cc5b4..3b5d05231e 100644 --- a/deal.II/examples/step-34/Makefile +++ b/deal.II/examples/step-34/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-35/Makefile b/deal.II/examples/step-35/Makefile index 6bdb6fc108..aa8175f2a9 100755 --- a/deal.II/examples/step-35/Makefile +++ b/deal.II/examples/step-35/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-36/Makefile b/deal.II/examples/step-36/Makefile index 1a18f86b91..d848f31fe8 100644 --- a/deal.II/examples/step-36/Makefile +++ b/deal.II/examples/step-36/Makefile @@ -102,6 +102,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -143,7 +144,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-37/Makefile b/deal.II/examples/step-37/Makefile index 2c39a273a8..0b41eb0b8d 100644 --- a/deal.II/examples/step-37/Makefile +++ b/deal.II/examples/step-37/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-38/Makefile b/deal.II/examples/step-38/Makefile index 88ebf317c0..2a8fdd914b 100644 --- a/deal.II/examples/step-38/Makefile +++ b/deal.II/examples/step-38/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-39/Makefile b/deal.II/examples/step-39/Makefile index 4953885f9b..302b3ce70a 100644 --- a/deal.II/examples/step-39/Makefile +++ b/deal.II/examples/step-39/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -115,7 +116,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-4/Makefile b/deal.II/examples/step-4/Makefile index 3e3f620ec1..3a97fb5345 100644 --- a/deal.II/examples/step-4/Makefile +++ b/deal.II/examples/step-4/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-40/Makefile b/deal.II/examples/step-40/Makefile index 8761f2c86f..cab518c66f 100644 --- a/deal.II/examples/step-40/Makefile +++ b/deal.II/examples/step-40/Makefile @@ -97,6 +97,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -140,7 +141,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-41/Makefile b/deal.II/examples/step-41/Makefile index 66a2bf0b10..2ef6a6d6d3 100644 --- a/deal.II/examples/step-41/Makefile +++ b/deal.II/examples/step-41/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-42/Makefile b/deal.II/examples/step-42/Makefile index 561f5adfeb..8ffa568be9 100644 --- a/deal.II/examples/step-42/Makefile +++ b/deal.II/examples/step-42/Makefile @@ -91,6 +91,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -132,7 +133,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-43/Makefile b/deal.II/examples/step-43/Makefile index 2fb15f3214..ffff29298b 100644 --- a/deal.II/examples/step-43/Makefile +++ b/deal.II/examples/step-43/Makefile @@ -92,6 +92,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -135,7 +136,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-44/Makefile b/deal.II/examples/step-44/Makefile index dc39e88b68..cd5c81afda 100644 --- a/deal.II/examples/step-44/Makefile +++ b/deal.II/examples/step-44/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-45/Makefile b/deal.II/examples/step-45/Makefile index ddb8f0103e..5494972b92 100644 --- a/deal.II/examples/step-45/Makefile +++ b/deal.II/examples/step-45/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-46/Makefile b/deal.II/examples/step-46/Makefile index 33d8588416..1fd610c3e6 100644 --- a/deal.II/examples/step-46/Makefile +++ b/deal.II/examples/step-46/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-47/Makefile b/deal.II/examples/step-47/Makefile index 935b005b43..bd99d5fa38 100644 --- a/deal.II/examples/step-47/Makefile +++ b/deal.II/examples/step-47/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-5/Makefile b/deal.II/examples/step-5/Makefile index 3e83e83c1e..e8e3b6825e 100644 --- a/deal.II/examples/step-5/Makefile +++ b/deal.II/examples/step-5/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-6/Makefile b/deal.II/examples/step-6/Makefile index 695e047530..6d6c17d943 100644 --- a/deal.II/examples/step-6/Makefile +++ b/deal.II/examples/step-6/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-7/Makefile b/deal.II/examples/step-7/Makefile index b0571b9001..6bba8b570d 100644 --- a/deal.II/examples/step-7/Makefile +++ b/deal.II/examples/step-7/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-8/Makefile b/deal.II/examples/step-8/Makefile index ad172848f0..263d904274 100644 --- a/deal.II/examples/step-8/Makefile +++ b/deal.II/examples/step-8/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: diff --git a/deal.II/examples/step-9/Makefile b/deal.II/examples/step-9/Makefile index 2f733af355..66be9e4975 100644 --- a/deal.II/examples/step-9/Makefile +++ b/deal.II/examples/step-9/Makefile @@ -73,6 +73,7 @@ endif # file produced from the single C++ file into the executable. Since # this is the first rule in the Makefile, it is the one `make' selects # if you call it without arguments. +all: $(target)$(EXEEXT) $(target)$(EXEEXT) : $(libraries) @echo ============================ Linking $@ @$(CXX) -o $@ $^ $(LIBS) $(LDFLAGS) @@ -114,7 +115,7 @@ clean: # The following statement tells make that the rules `run' and `clean' # are not expected to produce files of the same name as Makefile rules # usually do. -.PHONY: run clean +.PHONY: all run clean # Finally there is a rule which you normally need not care much about: