From 0aa2665be2d6d08a5cc4279259b087746fb54c12 Mon Sep 17 00:00:00 2001 From: Ralf Hartmann Date: Wed, 17 Mar 2004 12:24:56 +0000 Subject: [PATCH] Fix. Really don't do anything when PETSc is not installed. git-svn-id: https://svn.dealii.org/trunk@8799 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-17/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/deal.II/examples/step-17/Makefile b/deal.II/examples/step-17/Makefile index cb8d950d19..5fefc64e55 100644 --- a/deal.II/examples/step-17/Makefile +++ b/deal.II/examples/step-17/Makefile @@ -1,12 +1,11 @@ # $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 +###################################################################### +# 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 # ################################################################ @@ -160,3 +159,8 @@ Makefile.dep: $(target).cc Makefile \ include Makefile.dep +################################################################ +# If PETSc is not installed nothing needs to be done. +else +default: +endif -- 2.39.5