Thank you for your explanations. I didn't noticed that my make version was so old, it's the default one with Ubuntu 14.04.
On Mon, Jun 1, 2015 at 7:27 PM, Paul Smith <psm...@gnu.org> wrote: > On Mon, 2015-06-01 at 13:54 +0200, Meir BENAYOUN wrote: > > Item: Bug > > Privacy: Public > > Component Version: 3.81 > > > > When several pattern rules match a target, the one with the shortest > > stem should be used as stated in the documentation: > > You are using GNU make 3.81 (released in 2006) but reading the > documentation for the latest version of GNU make (4.1, released last > fall). > > The feature described in the manual (shortest-stem matching) was > introduced in GNU make 3.82; your version doesn't support it. > > From the NEWS file: > > > * WARNING: Backward-incompatibility! > > The pattern-specific variables and pattern rules are now applied in the > > shortest stem first order instead of the definition order (variables > > and rules with the same stem length are still applied in the definition > > order). This produces the usually-desired behavior where more specific > > patterns are preferred. To detect this feature search for > 'shortest-stem' > > in the .FEATURES special variable. > >
_______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make