[[CC'ed to list]]

---------- Forwarded message ----------
From: Aditya Kher <[EMAIL PROTECTED]>
Date: Apr 18, 2006 7:17 AM
Subject: Re: Automatic goal trace back
To: Bhaskar G <[EMAIL PROTECTED]>


> Is there a way to print if a make target can not be built, or a command
> fails.

Make as like other Unix commands exits with a status which can be
queried with $?
 - 0 for clean finish
-  non-zero for erroraneous finish and error code corresponding to the
type of error.

you can use that.

-aditya


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to