# settings
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
+#
+################################################################
# Since the whole project consists of only one file, we need not
# consider difficult dependencies. We only have to declare the
# them:
include Makefile.dep
-
+endif # CONTRIB_USE_TRILINOS