summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-03-25 16:01:12 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-03-25 16:01:12 +0000
commitcb21089ddc080ddf36815400ae5e02bde6d1d28d (patch)
tree48056f215fea69c3c515dac345f36130d7d1723d /Makefile
parent524a9e104c33a9c49cd8f9d0b45c1ad3aac191d8 (diff)
Check for valid settings (yes, no) of the WARN option.
This closes PR Cactus/938. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2668 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7de80ed4..9651d737 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@
#
#
# @enddesc
-# @version $Id: Makefile,v 1.129 2002-03-15 13:01:14 tradke Exp $
+# @version $Id: Makefile,v 1.130 2002-03-25 16:01:12 tradke Exp $
# @@*/
##################################################################################
@@ -166,6 +166,9 @@ endif
# Warning options
ifdef WARN
+ifneq (, $(filter-out yes no, $(WARN)))
+$(error Didn't recognize setting of WARN="$(WARN)" (should be either "yes" or "no"))
+endif
CCTK_WARN_MODE=$(WARN)
else
CCTK_WARN_MODE=no