Added a check to prevent rebuilding Mesa with a different configuration

without first doing 'make realclean'.
This commit is contained in:
Brian Paul 2006-08-03 16:58:06 +00:00
parent 9c3876d7d8
commit 3163542841
1 changed files with 4 additions and 0 deletions

View File

@ -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