"Oppermann, Henry" <[EMAIL PROTECTED]> 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



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

Reply via email to