diff options
author | Brian Paul <[email protected]> | 2006-08-03 16:58:06 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-08-03 16:58:06 +0000 |
commit | 31635428413709f1a93109350f3ac2590e3d2062 (patch) | |
tree | 95837a8cb19e34b21814a47b26fab7317f6a5810 /Makefile | |
parent | 9c3876d7d852d84bcf317e625210699dd39696eb (diff) |
Added a check to prevent rebuilding Mesa with a different configuration
without first doing 'make realclean'.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |