[bug #60595] make doesn't always restart when a makefile is rebuilt

2021-05-20 Thread Dmitry Goncharov
Follow-up Comment #1, bug #60595 (project make): Can you please attach a makefile which reproduces the issue? ___ Reply to this item at: ___ Сообщение

Re: Keeping intermediate files

2021-05-20 Thread Dmitry Goncharov via Bug reports and discussion for GNU make
On Thu, May 20, 2021 at 4:29 PM Frank Heckenbach wrote: >- just ".SECONDARY:" with no prerequisites which makes all > targets secondary (like I want), but also makes all targets > immediate, e.g. with this Makefile, if y exists and x doesn't, > it will remake x, but not y,

Re: Keeping intermediate files

2021-05-20 Thread Frank Heckenbach
Jeffrey Walton wrote: > Related, you usually ask the compiler to save the intermediate files. > For GCC the option is -save-temps. Also see > https://gcc.gnu.org/onlinedocs/gcc/Overall-Options.html. Indeed, as far as compiler-intermediates are concerned. I know this option and it works well.

Re: Keeping intermediate files

2021-05-20 Thread Jeffrey Walton
On Thu, May 20, 2021 at 4:29 PM Frank Heckenbach wrote: > > Is there are way to completely stop GNU make from removing > intermediate files? Related, you usually ask the compiler to save the intermediate files. For GCC the option is -save-temps. Also see

Keeping intermediate files

2021-05-20 Thread Frank Heckenbach
Is there are way to completely stop GNU make from removing intermediate files? When something goes wrong, I sometimes like to examine things step by step, and intermediate files are sometimes useful in that. I fail to see any benefit in removing them -- it's certainly not that they blow up