bug-mes
[Top][All Lists]
Advanced

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

Re: "make" skips files that had build failure on next run


From: W. J. van der Laan
Subject: Re: "make" skips files that had build failure on next run
Date: Sun, 18 Apr 2021 15:29:42 +0000

> Yes, I agree, this is less than great. Otoh, removing partial output
> upon failure (something like)
>
> if ! mescc ...; then
>
> rm -f xxx.o xxx.S
>
> fi
>
> may also not be what we want? Possibly we could do something like
>
> mv xxx.o xxx.o-error

Yes, that would definitely work.

I suppose for robustness the other way around would be preferable: create a 
(say) .o-build then rename it to .o when it is successful.

-W



reply via email to

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