summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-04-23 15:14:24 (GMT)
committerGuido van Rossum <guido@python.org>1997-04-23 15:14:24 (GMT)
commit4246edda7c055359443ec44a0b862310042d3a1d (patch)
treec7e444905b1653cfe3bae084774d8f2683d313cc
parentcaa9f234bc72886041580ee50b8dd75ccbe76c71 (diff)
downloadcpython-4246edda7c055359443ec44a0b862310042d3a1d.zip
cpython-4246edda7c055359443ec44a0b862310042d3a1d.tar.gz
cpython-4246edda7c055359443ec44a0b862310042d3a1d.tar.bz2
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).
-rw-r--r--Makefile.in28
1 files changed, 19 insertions, 9 deletions
diff --git a/Makefile.in b/Makefile.in
index 0733890..e76172a 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