diff options
author | rubidium <rubidium@openttd.org> | 2007-06-11 10:29:07 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-11 10:29:07 +0000 |
commit | 68c369ea98c4379c25300d055eb206ff8f4442cb (patch) | |
tree | 7663a64bc84d6b2c490b2b0212de709569930a13 /Makefile.in | |
parent | 719395f216deb3a6ffad8cd532321f7b81dc94fb (diff) | |
download | openttd-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.in | 4 |
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 |