Added a check to prevent rebuilding Mesa with a different configuration
without first doing 'make realclean'.
This commit is contained in:
parent
9c3876d7d8
commit
3163542841
4
Makefile
4
Makefile
|
@ -144,6 +144,10 @@ sunos5-v8-static \
|
||||||
sunos5-v9 \
|
sunos5-v9 \
|
||||||
sunos5-v9-static \
|
sunos5-v9-static \
|
||||||
ultrix-gcc:
|
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)
|
(cd configs && rm -f current && ln -s $@ current)
|
||||||
$(MAKE) default
|
$(MAKE) default
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue