]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Disable if not using p4est.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 28 Oct 2010 15:40:52 +0000 (15:40 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 28 Oct 2010 15:40:52 +0000 (15:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@22540 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-32/Makefile

index 325456adbe728472c44676a061441febb712bdd5..b78b9e855042caca742a7bb415a33c1423367cc0 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.4 2006/02/10 17:53:05 wolf Exp $
+# $Id$
 
 
 # For the small projects Makefile, you basically need to fill in only
@@ -14,7 +14,7 @@ target = $(basename $(shell echo step-*.cc))
 # run-time checking of parameters and internal states is performed, so
 # you should set this value to `on' while you develop your program,
 # and to `off' when running production computations.
-debug-mode = off
+debug-mode = on
 
 
 # As third field, we need to give the path to the top-level deal.II
@@ -48,16 +48,17 @@ 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)
+ifneq ($(USE_CONTRIB_TRILINOS)$(USE_CONTRIB_P4EST),yesyes)
 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 "=   This program can only be run with the following       ="
+       @echo "=   configuration:                                        ="
+       @echo "=   - with PETSc                                          ="
+       @echo "=   - with P4EST                                          ="
+       @echo "=   At least one of these conditions is not satisfied.    ="
        @echo "==========================================================="
        @echo
-
 else
 #
 ################################################################

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.