From e83b37de9bbe96fd06be14a68b4e4372b704e073 Mon Sep 17 00:00:00 2001 From: wolf Date: Tue, 16 Mar 2004 21:12:25 +0000 Subject: [PATCH] Disable this example program if PETSc is not installed. git-svn-id: https://svn.dealii.org/trunk@8795 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-17/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) 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. -- 2.39.5