help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proper usage of multiple rules for the same targets


From: Paul Smith
Subject: Re: Proper usage of multiple rules for the same targets
Date: Thu, 06 Sep 2018 08:56:14 -0400

On Thu, 2018-09-06 at 08:05 +0000, Tiphaine Turpin wrote:
> The static pattern solution looks very nice, thanks. It seems to work
> fine in the real Makefile. And there is no visible performance
> impact, as far as I can tell (I'm not sure about how efficiently
> static pattern rules are implemented).

Static pattern rules are just another way of writing explicit rules. 
As such, they're more efficient than pattern rules (since they are
applied directly when the target is needed, and no pattern matching or
searching is necessary).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]