From: hartmann Date: Wed, 17 Mar 2004 12:24:56 +0000 (+0000) Subject: Fix. Really don't do anything when PETSc is not installed. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3359868343d1c78c89a4d9da5df5bb5a357c293;p=dealii-svn.git 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 --- 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