]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Updated some Makefiles.
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 20 Nov 2008 14:36:29 +0000 (14:36 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 20 Nov 2008 14:36:29 +0000 (14:36 +0000)
git-svn-id: https://svn.dealii.org/trunk@17659 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-31/Makefile
deal.II/examples/step-32/Makefile
deal.II/examples/step-33/Makefile

index 7c05bcbdb83a62867291eb6f442c59f88739651c..33f468fc9021ed8a508005f7962034f2233cae45 100644 (file)
@@ -143,21 +143,11 @@ clean:
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
-# A rule made to ensure that UMFPACK is indeed configured
-ifeq ($(USE_CONTRIB_UMFPACK),yes)
-UMFPACK-check:
-else
-UMFPACK-check:
-       @echo "This program can only be run if deal.II is configured with UMFPACK support"
-       @false
-endif
-
-
 
 # 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 UMFPACK-check
+.PHONY: run clean
 
 
 # Finally there is a rule which you normally need not care much about:
index 7c05bcbdb83a62867291eb6f442c59f88739651c..33f468fc9021ed8a508005f7962034f2233cae45 100644 (file)
@@ -143,21 +143,11 @@ clean:
        @$(CXX) $(CXXFLAGS.o) -c $< -o $@
 
 
-# A rule made to ensure that UMFPACK is indeed configured
-ifeq ($(USE_CONTRIB_UMFPACK),yes)
-UMFPACK-check:
-else
-UMFPACK-check:
-       @echo "This program can only be run if deal.II is configured with UMFPACK support"
-       @false
-endif
-
-
 
 # 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 UMFPACK-check
+.PHONY: run clean
 
 
 # Finally there is a rule which you normally need not care much about:
index 99172c29c6b0b564a08a720214fdbb6be233385c..cc84b86b01d94b1a9ee2db006d1396aa25445d85 100644 (file)
@@ -26,7 +26,7 @@ debug-mode = on
 D = ../../
 
 
-# The last field specifies the names of data and other files that
+# The fourth field specifies the names of data and other files that
 # shall be deleted when calling `make clean'. Object and backup files,
 # executables and the like are removed anyway. Here, we give a list of
 # files in the various output formats that deal.II supports.
@@ -34,6 +34,13 @@ clean-up-files = *gmv *gnuplot *gpl *eps *pov *vtk
 
 
 
+# The last field specifies the name of the input file that passes the
+# parameters to the program.
+run-parameters = input.prm
+
+
+
+
 
 #
 #
@@ -115,7 +122,7 @@ $(target) : $(libraries)
 # following rule:
 run: $(target)
        @echo ============================ Running $<
-       @./$(target)$(EXEEXT)
+       @./$(target)$(EXEEXT) $(run-parameters)
 
 
 # As a last rule to the `make' program, we define what to do when

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.