[bug #60297] optimize autodeps

2021-04-05 Thread Britton Kerin
Follow-up Comment #18, bug #60297 (project make): I strongly second Dmitry's proposal that something like .NOTINTERMEDIATE: (preferably with a no-dependencies-means-all interpretation) should be added. The IMO weird behavior of .SECONDARY where it effectively creates strange weak dependencies

Re: .SECONDARY: unwanted effect of not causing rebuilds when intermediate files missing

2021-04-05 Thread Dmitry Goncharov via Bug reports and discussion for GNU make
On Mon, Apr 5, 2021 at 7:28 PM Britton Kerin wrote: > Even if this behavior of .SECONDARY: is considered desirable Whether or not it is desirable, it is there and there are makefiles which use it and a change would break them. >, it would > be nice to have some way of telling make what I want

.SECONDARY: unwanted effect of not causing rebuilds when intermediate files missing

2021-04-05 Thread Britton Kerin
I don't like how .SECONDARY: (without prereqs) causes make to not rebuild things wen intermediate files are missing, e.g. uncommenting .SECONDARY in this make file causes make to not rebuild even when foo.c.validation_stamp is removed: OBJS = foo.o #.SECONDARY: OBJS = foo.o bar.o