On Mon, 2014-02-10 at 17:40 +0100, Lutz Kohlrausch wrote: > In the Makefiles of a build project here, there is a line with two > colons. It seems to define what I would call a target-specific pattern > rule. I've included a simplified example below (see especially line > 9).
That is called a static pattern rule. You can look it up in the docs. > I have searched for documentation of this feature as I'd like that we > use an established feature of Gnu Make and not something that works > accidentally and might go away in future. But I have not found > documentation that says this is legal. For example for target-specific > variable assignments, such documentation exists. Static pattern rules have been supported for decades in GNU make, and are definitely a standard feature that won't ever go away. _______________________________________________ Help-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-make
