On Fri, Jul 03, 2009 at 03:15:18PM -0600, Philip Guenther wrote: > On Fri, Jul 3, 2009 at 12:03 AM, CHEN Cheng<[email protected]> wrote: > > On Fri, Jul 03, 2009 at 02:55:53PM +1000, [email protected] wrote: ...cut... > Well, not quite. $(eval) doesn't get a pass of its own. Instead, it > results in make going back and redoing an earlier step on new text. > > The order is more like > > 1) read the makefile, performing immediate expansions (per "3.9 How > `make' Reads a Makefile") as they are encountered. This includes all > processing of conditionals (ifdef, etc) and includes. Note that > top-level variable expansions, such as the use of $(eval) in the > original post, are performed at this point.
You are right, Philip. I should have read the manual twice before I proposed the 'analysis', Oh I'm sorry. To fix this mental bug essentially, I have started reading the source code, but it'd take a long time I guess. Best regards, -Cheng _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
