# the deal.II toplevel directory:
D = ../../
-
-
#
#
# Usually, you will not need to change anything beyond this point.
include $D/common/Make.global_options
+################################################################
+# This example program will only work if Trilinos is installed. If this
+# is not the case, then simply redefine the main targets to do nothing
+ifneq ($(USE_CONTRIB_TRILINOS),yes)
+default run clean:
+ @echo
+ @echo "==========================================================="
+ @echo "= This program cannot be compiled without Trilinos. Make="
+ @echo "= sure you have Trilinos installed and detected during ="
+ @echo "= configuration of deal.II ="
+ @echo "==========================================================="
+ @echo
+
+else
+#
+################################################################
+
+
# First get a list of files belonging to the project. Include files
# are expected in `include/', while implementation files are expected
# in `source/'. Object files are placed into `lib/[123]d', using the
include lib/Makefile.dep
+endif # USE_CONTRIB_TRILINOS