From: wolf Date: Tue, 16 Mar 2004 21:12:25 +0000 (+0000) Subject: Disable this example program if PETSc is not installed. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e83b37de9bbe96fd06be14a68b4e4372b704e073;p=dealii-svn.git Disable this example program if PETSc is not installed. git-svn-id: https://svn.dealii.org/trunk@8795 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-17/Makefile b/deal.II/examples/step-17/Makefile index a92d87c241..cb8d950d19 100644 --- a/deal.II/examples/step-17/Makefile +++ b/deal.II/examples/step-17/Makefile @@ -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.