aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@1d96b42b-98df-4a6a-9d84-1b24288d4588>2004-03-10 14:37:08 +0000
committerschnetter <schnetter@1d96b42b-98df-4a6a-9d84-1b24288d4588>2004-03-10 14:37:08 +0000
commitd7a2ebee8a9709da3bb4cb6edd7c149314b3f21a (patch)
tree8eae9d437fd364f68a6c0747f3584d45b72096cb
parent8f9e3334d30924e5b199a21f1c3825f94b57f02e (diff)
Use $(error) instead of an unsatisfied dependency to report
configuration errors. git-svn-id: http://svn.cactuscode.org/arrangements/CactusElliptic/EllPETSc/trunk@81 1d96b42b-98df-4a6a-9d84-1b24288d4588
-rw-r--r--src/make.configuration.defn6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/make.configuration.defn b/src/make.configuration.defn
index a954d1e..7e21c8c 100644
--- a/src/make.configuration.defn
+++ b/src/make.configuration.defn
@@ -7,9 +7,5 @@ have_petsc := $(shell grep -s '\#define CCTK_PETSC 1' $(CONFIG)/cctk_Extradefs.h
ifeq ($(strip $(have_petsc)), )
$(NAME): MissingPETSC
-.pseudo: MissingPETSC
-MissingPETSC:
- @echo "This configuration wasn't configured to use PETSC"
- @echo "Please reconfigure with 'PETSC=yes' or remove EllPETSc from your ThornList !"
- exit 2
+ $(error"This configuration wasn't configured to use PETSc. Please reconfigure with 'PETSC=yes' or remove EllPETSc from your ThornList.")
endif