Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6546983

Browse files
committed
'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.
1 parent 0be5aab commit 6546983

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

Makefile.in

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ WITH=
126126
OPT= @OPT@
127127

128128
# Subdirectories where to run make recursively
129-
SUBDIRS= Parser Objects Python Modules
129+
SUBDIRS= Parser Grammar Objects Python Modules
130130

131131
# Other subdirectories
132-
SUBDIRSTOO= Include Lib Misc Demo Grammar
132+
SUBDIRSTOO= Include Lib Misc Demo
133133

134134
# Files and directories to be distributed
135135
CONFIGFILES= configure configure.in acconfig.h config.h.in Makefile.in
@@ -195,6 +195,10 @@ libpython$(VERSION).dylib: $(LIBRARY)
195195

196196
$(SUBDIRS): Makefiles
197197

198+
Grammar:
199+
cd Grammar ; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \
200+
prefix="$(prefix)" exec_prefix="$(exec_prefix)" all
201+
198202
Parser:
199203
cd Parser ; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \
200204
prefix="$(prefix)" exec_prefix="$(exec_prefix)" all

0 commit comments

Comments
 (0)