help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GMAKE 3.81 vs GMAKE 4.2


From: Paul Smith
Subject: Re: GMAKE 3.81 vs GMAKE 4.2
Date: Thu, 05 May 2022 14:52:32 -0400
User-agent: Evolution 3.44.1 (by Flathub.org))

On Fri, 2022-05-06 at 00:14 +0530, nikhil jain wrote:
> My question is how do I print the exit status in the make itself
> before exiting make. May be at the last of main.c (main function) ?
> but how ? Which variable stores the exit code just before make exits
> ?

All exit paths of make go through the die() function, found in
src/main.c.  if you wanted to edit the code to do something non-
standard, that's the place to put it.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]