help-gnu-utils
[Top][All Lists]
Advanced

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

Re: (gmake) Detecting error in call to $(shell ...)


From: Boris Kolpackov
Subject: Re: (gmake) Detecting error in call to $(shell ...)
Date: 11 Nov 2004 22:02:56 GMT
User-agent: nn/6.6.5+RFC1522

cakoose@yahoo.com (Kannan Goundan) writes:

> I have something like:
>
>    CMD = $(shell find-compiler)
>
>    file.o: file.c
>       $(CMD) -c $<
>
> Can I get Make to stop processing immediately after "find-compiler"
> returns a non-zero exit code?

include compiler.conf

compiler.conf:
        @echo -n "CMD := " >$@
        @find-compiler >>$@


file.o: file.c
        $(CMD) -c $<


reply via email to

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