From 73989d332e4e52e106dfd6aecf66b037357a6af5 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Tue, 1 Oct 2013 10:53:09 +0100 Subject: [PATCH] Raise an error if variety is something other than rash, hot, or cool. Copied from Perforce Change: 183499 ServerID: perforce.ravenbrook.com --- mps/code/comm.gmk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mps/code/comm.gmk b/mps/code/comm.gmk index e0c6236ef8d..5a17dd14680 100644 --- a/mps/code/comm.gmk +++ b/mps/code/comm.gmk @@ -134,6 +134,9 @@ ifeq ($(VARIETY),cool) CFLAGS=$(CFLAGSCOMMON) $(CFCOOL) CFLAGSLAX=$(CFLAGSCOMMONLAX) $(CFCOOL) else +ifneq ($(VARIETY),) +$(error Variety "$(VARIETY)" not recognized: must be rash/hot/cool) +endif endif endif endif