help-make
[Top][All Lists]
Advanced

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

Fwd: Automatic goal trace back


From: Aditya Kher
Subject: Fwd: Automatic goal trace back
Date: Tue, 18 Apr 2006 07:21:45 -0700

[[CC'ed to list]]

---------- Forwarded message ----------
From: Aditya Kher <address@hidden>
Date: Apr 18, 2006 7:17 AM
Subject: Re: Automatic goal trace back
To: Bhaskar G <address@hidden>


> 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




reply via email to

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