[bug #60297] optimize autodeps

2021-04-03 Thread Paul D. Smith
Follow-up Comment #11, bug #60297 (project make): > Do you mean, that when .SECONDARY depends on a pattern the behavior is the same as that of .NOTINTERMEDIATE (as proposed here)? Yes, I'm saying we already have a way to mark things "not intermediate" (.SECONDARY) The only difference between that

[bug #60297] optimize autodeps

2021-04-03 Thread Dmitry Goncharov
Follow-up Comment #12, bug #60297 (project make): > Yes, I'm saying we already have a way to mark things "not intermediate" (.SECONDARY) The only difference between that and a brand new .NOTINTERMEDIATE you have proposed is that .SECONDARY doesn't handle patterns and .NOTINTERMEDIATE does. Paul

[bug #60297] optimize autodeps

2021-04-03 Thread Paul D. Smith
Follow-up Comment #13, bug #60297 (project make): It may help to read the docs rather than, or at least in addition to, the code: https://www.gnu.org/software/make/manual/html_node/Chained-Rules.html You're right that if a target is not intermediate then .SECONDARY will make it intermediate. Bu

[bug #60297] optimize autodeps

2021-04-03 Thread Dmitry Goncharov
Follow-up Comment #14, bug #60297 (project make): Let me provide a verbose description of .NOTINTERMEDIATE here. This piece of make code allows to get rid from include directive with generated dep files. Motivation for this piece of make code is described as 1,2,3 and 4 in update 6. .SECONDEX

Re: Hard to understand make -B on man page

2021-04-03 Thread carl hansen
On Thu, Apr 1, 2021 at 11:52 PM 積丹尼 Dan Jacobson wrote: > > On the make man page, > >-B, --always-make > Unconditionally make all targets. > > seems to mean for Makefile > a:; echo $@ > b:; echo $@ > c:; echo $@ > $ make -B > should make all three. > > Therefore the wording sho