]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix. Really don't do anything when PETSc is not installed.
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 17 Mar 2004 12:24:56 +0000 (12:24 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 17 Mar 2004 12:24:56 +0000 (12:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@8799 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-17/Makefile

index cb8d950d19b8fd1ad82e42b263899a34cede2581..5fefc64e5570480f0b7e295b14af2b40df155dd2 100644 (file)
@@ -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

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.