help-make
[Top][All Lists]
Advanced

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

Re: how can gnu make return 2 and not show any errors?


From: Paul Smith
Subject: Re: how can gnu make return 2 and not show any errors?
Date: Tue, 20 Oct 2009 13:19:51 -0400

On Tue, 2009-10-20 at 13:06 -0400, Mike Shal wrote:
> Basically you have to have a dependency file that is dependent on a
> missing file (here, ok.h). I don't know why the error text only shows
> up in the one in not the other though. This is make-3.81

I tried your example with 3.81 and did reproduce this behavior, then I
tried it with the latest CVS code and this problem no longer exists, so
it's been fixed and will be in the next release:

xx$ ../make
make: *** No rule to make target `ok.h', needed by `ok.o'.  Stop.
xx$ echo $?
2


Cheers!





reply via email to

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