From: Thomas Wouters Date: Fri, 11 Aug 2000 22:26:35 +0000 (+0000) Subject: 'make' in Grammar too, so graminit.h and graminit.c get re-build when X-Git-Tag: v2.0b1~500 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=654698389d88366743b7eae06de0a0171b9aefd1;p=python '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. --- diff --git a/Makefile.in b/Makefile.in index 3e5b631e3f..88f4efea47 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