Re: Intermediate file removal ... considered harmful??

2021-04-02 Thread Dmitry Goncharov via Bug reports and discussion for GNU make
On Wed, Mar 31, 2021 at 5:39 PM Paul Smith wrote: > Third, there's not a flexible way to disable intermediate files: agree. > I think it is still useful to keep intermediate files as a concept, > where if an intermediate file in a chain of implicit rules doesn't > exist but the mod time of the s

Re: Implement make --all-targets-matching-regexp

2021-04-02 Thread Pete Dietl
Yes but the Perl option is not good enough when there are dynamically generated targets or when there are includes. On Fri, Apr 2, 2021 at 6:01 AM 積丹尼 Dan Jacobson wrote: > > "PD" == Pete Dietl writes: > PD> Perhaps a better option would be to make an option to list all > PD> targets. > > T

Re: Implement make --all-targets-matching-regexp

2021-04-02 Thread 積丹尼 Dan Jacobson
> "PD" == Pete Dietl writes: PD> Perhaps a better option would be to make an option to list all PD> targets. That would just be e.g., perl -nwle 'print for /^\w+:/g;' PD> Then one can grep to select ones in any which way. Well OK, I guess all this won't be needing make to add such features

Re: Implement make --all-targets-matching-regexp

2021-04-02 Thread Pete Dietl
Perhaps a better option would be to make an option to list all targets. Then one can grep to select ones in any which way. On Thu, Apr 1, 2021 at 11:52 PM 積丹尼 Dan Jacobson wrote: > > Let's take Makefile: > > alzu:; echo $@ > Blibco:; echo $@ > Norfowitz; echo $@ > nillsburg; echo $@ > > Well let'