]> https://gitweb.dealii.org/ - dealii.git/commitdiff
update Makefile for step-50 to disable compilation if Trilinos or p4est is missing
authorTimo Heister <timo.heister@gmail.com>
Fri, 4 Jan 2013 21:54:31 +0000 (21:54 +0000)
committerTimo Heister <timo.heister@gmail.com>
Fri, 4 Jan 2013 21:54:31 +0000 (21:54 +0000)
git-svn-id: https://svn.dealii.org/trunk@27926 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-50/Makefile

index 3af5d515e110cd5d1c1549ef5ce398f5b6953a8f..724ba8ac31c7358e6a1f2f1db6fe55b11b928636 100644 (file)
@@ -44,7 +44,18 @@ clean-up-files = *gmv *gnuplot *gpl *eps *pov *vtk *ucd *.d2
 # settings
 include $D/common/Make.global_options
 
-
+ifneq ($(USE_CONTRIB_TRILINOS)$(USE_CONTRIB_P4EST),yesyes)
+default run clean:
+       @echo
+       @echo "==========================================================="
+       @echo "=   This program can only be run with the following       ="
+       @echo "=   configuration:                                        ="
+       @echo "=   - with Trilinos                                       ="
+       @echo "=   - with P4EST                                          ="
+       @echo "=   At least one of these conditions is not satisfied.    ="
+       @echo "==========================================================="
+       @echo
+else
 # Since the whole project consists of only one file, we need not
 # consider difficult dependencies. We only have to declare the
 # libraries which we want to link to the object file. deal.II has two
@@ -141,3 +152,4 @@ Makefile.dep: $(target).cc Makefile \
 include Makefile.dep
 
 
+endif  # USE_CONTRIB_TRILINOS

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.