Hi Ben,
a while ago on the automake list:
* Ben Pfaff wrote on Wed, Aug 25, 2010 at 07:22:58PM CEST:
> In a Makefile, the relative order of variable and rule
> definitions matters, because variables used in targets are
> expanded when rules are read. If a variable is used in a target
> before th
Hi Ben,
* Ben Pfaff wrote on Wed, Aug 25, 2010 at 07:22:58PM CEST:
> Current Automake appears to reorder the Makefile.am so that all
> variable assignments precede all rules, so in a Makefile.am the
> relative order of variable and rule definitions does not matter.
Right.
> Is this behavior docu
In a Makefile, the relative order of variable and rule
definitions matters, because variables used in targets are
expanded when rules are read. If a variable is used in a target
before the variable is changed, the variable's former expansion
is used in the target, not the latter expansion.
Curren