aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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