]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Disable this example program if PETSc is not installed.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 16 Mar 2004 21:12:25 +0000 (21:12 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 16 Mar 2004 21:12:25 +0000 (21:12 +0000)
git-svn-id: https://svn.dealii.org/trunk@8795 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-17/Makefile

index a92d87c2415c48044837c6672e8ca5efc83eb9cf..cb8d950d19b8fd1ad82e42b263899a34cede2581 100644 (file)
@@ -1,5 +1,16 @@
 # $Id$
 
+################################################################ This example
+# program will only work if PETSc is installed. If this is not the case, then
+# simply redefine the main targets to to nothing
+ifeq ($(USE_CONTRIB_PETSC),yes)
+default:
+run:
+endif
+#
+################################################################
+
+
 
 # For the small projects Makefile, you basically need to fill in only
 # four fields.

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.