From: Guido van Rossum Date: Wed, 23 Apr 1997 15:14:24 +0000 (+0000) Subject: Unroll the for loop used for building python, so the first three X-Git-Tag: v1.5a1~137 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4246edda7c055359443ec44a0b862310042d3a1d;p=python Unroll the for loop used for building python, so the first three subdirectories can be made in parallel (unfortunately, Modules has to depend on all three). --- diff --git a/Makefile.in b/Makefile.in index 0733890c43..e76172ab95 100644 --- a/Makefile.in +++ b/Makefile.in @@ -145,15 +145,25 @@ DIST= $(DISTFILES) $(DISTDIRS) all: python # Build the interpreter -python: Makefiles - @for i in $(SUBDIRS); do \ - (echo Making in subdirectory $$i; cd $$i; \ - $(MAKE) OPT="$(OPT)" \ - VERSION="$(VERSION)" \ - prefix="$(prefix)" \ - exec_prefix="$(exec_prefix)" \ - all); \ - done +python: $(SUBDIRS) + +$(SUBDIRS): Makefiles + +Parser: + cd Parser ; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \ + prefix="$(prefix)" exec_prefix="$(exec_prefix)" all + +Python: + cd Python ; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \ + prefix="$(prefix)" exec_prefix="$(exec_prefix)" all + +Objects: + cd Objects ; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \ + prefix="$(prefix)" exec_prefix="$(exec_prefix)" all + +Modules: Parser Python Objects + cd Modules ; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \ + prefix="$(prefix)" exec_prefix="$(exec_prefix)" all # Test the interpreter (twice, once without .pyc files, once with) TESTPATH= $(srcdir)/Lib:$(srcdir)/Lib/$(MACHDEP):$(srcdir)/Lib/test:./Modules