Re: Making makefiles with primarily phony targets more friendly

2022-08-10 Thread Jean-Baptiste Poittevin
By using a lot of PHONY targets, I think you're closing a door to one make greatest feature : not redoing those things that are already up to date. If you consider that every rule can generate a useful file (file containing container image for example) or a dummy file, you can benefit from the d

Re: [bug #60165] Multiple pattern rules with single rule

2022-07-19 Thread Jean-Baptiste Poittevin
Le 2022-07-19 14:52:40, Paul Smith a écrit : > On Tue, 2022-07-19 at 20:26 +0200, Jean-Baptiste Poittevin wrote: > > a% b%: % > >     cp $< $@ > > This rule is not well-formed. By declaring two patterns as targets, > you are telling make that your recipe wi

Re: [bug #60165] Multiple pattern rules with single rule

2022-07-19 Thread Jean-Baptiste Poittevin
t; type of rule) you get exploded behavior. And if you use ":" without a > specifier you get the "historical" behavior (exploded with explicit rules and > grouped with pattern rules). I can give a try at "|:", now that the first dive in make source code was made. Regards, -- Jean-Baptiste Poittevin

[bug #60165] Multiple pattern rules with single rule

2022-07-19 Thread Jean-Baptiste Poittevin
Additional Item Attachment, bug #60165 (project make): File name: make.sv60165.patch Size:8 KB ___ Reply to this item at: