'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.
This commit is contained in:
Thomas Wouters 2000-08-11 22:26:35 +00:00
parent 0be5aab04d
commit 654698389d
1 changed files with 6 additions and 2 deletions

View File

@ -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