From 31635428413709f1a93109350f3ac2590e3d2062 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 3 Aug 2006 16:58:06 +0000 Subject: [PATCH] Added a check to prevent rebuilding Mesa with a different configuration without first doing 'make realclean'. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index bb593d40073..81d5eef4356 100644 --- a/Makefile +++ b/Makefile @@ -144,6 +144,10 @@ sunos5-v8-static \ sunos5-v9 \ sunos5-v9-static \ ultrix-gcc: + @ if [ -e configs/current ] ; then \ + echo "Please run 'make realclean' before changing configs" ; \ + exit 1 ; \ + fi (cd configs && rm -f current && ln -s $@ current) $(MAKE) default