summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-11 10:29:07 +0000
committerrubidium <rubidium@openttd.org>2007-06-11 10:29:07 +0000
commit68c369ea98c4379c25300d055eb206ff8f4442cb (patch)
tree7663a64bc84d6b2c490b2b0212de709569930a13 /Makefile.in
parent719395f216deb3a6ffad8cd532321f7b81dc94fb (diff)
downloadopenttd-68c369ea98c4379c25300d055eb206ff8f4442cb.tar.xz
(svn r10091) -Add: make time detection whether you are using -jN when having distcc enabled.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 19c4c667f..95c08f1f1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -31,10 +31,14 @@ OS = !!OS!!
OSXAPP = !!OSXAPP!!
REVISION = !!REVISION!!
AWK = !!AWK!!
+DISTCC = !!DISTCC!!
RES := $(shell if ! [ -f $(CONFIG_CACHE_SOURCE_LIST) ] || [ -n "`cmp $(CONFIG_CACHE_SOURCE_LIST) $(SOURCE_LIST)`" ]; then cp $(SOURCE_LIST) $(CONFIG_CACHE_SOURCE_LIST); fi )
all: config.cache
+ifdef DISTCC
+ @if [ -z "`echo '$(MFLAGS)' | grep '\-j'`" ]; then echo; echo "WARNING: you enabled distcc support, but you don't seem to be using the -jN paramter"; echo; fi
+endif
@for dir in $(DIRS); do \
$(MAKE) -C $$dir all; \
done