summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-08-11 22:26:35 (GMT)
committerThomas Wouters <thomas@python.org>2000-08-11 22:26:35 (GMT)
commit654698389d88366743b7eae06de0a0171b9aefd1 (patch)
treeae0b6fc50709f19715a8822cbbecc876018475f1 /Makefile.in
parent0be5aab04d2f441323e8a7681f79137d26fd2e30 (diff)
downloadcpython-654698389d88366743b7eae06de0a0171b9aefd1.zip
cpython-654698389d88366743b7eae06de0a0171b9aefd1.tar.gz
cpython-654698389d88366743b7eae06de0a0171b9aefd1.tar.bz2
'make' in Grammar too, so graminit.h and graminit.c get re-build when
necessary. Do Grammar after Parser because Grammar needs Parser, and not the other way 'round. This patch doesn't bother with dependencies because it's tricky to get right (for instance for the modules that want graminit.h, like cPickle) and other dependencies are broken to begin with.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 3e5b631..88f4efe 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -126,10 +126,10 @@ WITH=
OPT= @OPT@
# Subdirectories where to run make recursively
-SUBDIRS= Parser Objects Python Modules
+SUBDIRS= Parser Grammar Objects Python Modules
# Other subdirectories
-SUBDIRSTOO= Include Lib Misc Demo Grammar
+SUBDIRSTOO= Include Lib Misc Demo
# Files and directories to be distributed
CONFIGFILES= configure configure.in acconfig.h config.h.in Makefile.in
@@ -195,6 +195,10 @@ libpython$(VERSION).dylib: $(LIBRARY)
$(SUBDIRS): Makefiles
+Grammar:
+ cd Grammar ; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \
+ prefix="$(prefix)" exec_prefix="$(exec_prefix)" all
+
Parser:
cd Parser ; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \
prefix="$(prefix)" exec_prefix="$(exec_prefix)" all