summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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