@$(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:
@$(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:
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.
+# The last field specifies the name of the input file that passes the
+# parameters to the program.
+run-parameters = input.prm
+
+
+
+
#
#
# 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