help-make
[Top][All Lists]
Advanced

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

Re: Another Dumb Question


From: Boris Kolpackov
Subject: Re: Another Dumb Question
Date: Thu, 12 Aug 2004 18:23:32 +0000 (UTC)
User-agent: nn/6.6.5+RFC1522

"Oppermann, Henry" <address@hidden> writes:

> As I understand it, when make invokes a process to handle a command and the
> process ends, Make learns the exit value from the child process.  Is there a
> way to gain access to this exit value?  I have a case where an assembler
> returns a code which is valid for <= 4.  Above that value, I want to exit.
> Make exits if the value is >0.

foo.o: foo.s
        strange_as $<; if [ $? -le 4 ]; then true; else false; fi

-boris





reply via email to

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