From 654698389d88366743b7eae06de0a0171b9aefd1 Mon Sep 17 00:00:00 2001 From: Thomas Wouters Date: Fri, 11 Aug 2000 22:26:35 +0000 Subject: '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. --- Makefile.in | 8 ++++++-- 1 file 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 -- cgit v0.12