Re: Profiling Make builds

Dmitry Goncharov <[email protected]> Wed, 23 Jul 2025 15:37:32 -0400
Newsgroups gmane.comp.gnu.make.bugs
Message-ID <CAG+Z0CvWi_+77FtWYFhkLO_r8Re8mjw8nPGpgtPCuKuOaT7VdQ@mail.gmail.com>
On Wed, Jul 23, 2025 at 1:33 PM Ross Burton <[email protected]> wrote:
> Is there a way to get timing information from GNU Make about what targets are being built and when they were started/finished?

make -p prints the mtime of the targets after the build is complete.
make won't print the start time of a job.
Ofcourse the recipes can be enhanced to print the start time.
It is probably easier to obtain the mtime of your targets from the filesystem.

regards, Dmitry