summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bb593d4007..81d5eef435 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