]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Stop step-42 from compiling without UMFPACK
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 2 Oct 2011 16:41:00 +0000 (16:41 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 2 Oct 2011 16:41:00 +0000 (16:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@24500 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-42/Makefile

index e9014c33102989614610bcfc740f4a4530f9471a..561f5adfeb9e724262c2d36f4f804b74e26c142b 100644 (file)
@@ -45,6 +45,24 @@ clean-up-files = *gmv *gnuplot *gpl *eps *pov *vtk *ucd *.d2
 # settings
 include $D/common/Make.global_options
 
+################################################################ 
+# This example program will only work if UMFPACK is installed. If this
+# is not the case, then simply redefine the main targets to do nothing
+
+
+ifneq ($(USE_CONTRIB_UMFPACK),yes)
+default run clean:
+       @echo
+       @echo "===========================================================" 
+       @echo "=   This program cannot be compiled without UMFPACK. Make ="
+       @echo "=   sure you have UMFPACK installed and detected during   ="
+       @echo "=   configuration of deal.II                              ="
+       @echo "==========================================================="
+       @echo
+endif
+#
+################################################################
+
 
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the

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.