help-make
[Top][All Lists]
Advanced

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

Re: Q: How to delete all out of date targets


From: Paul Smith
Subject: Re: Q: How to delete all out of date targets
Date: Tue, 09 Mar 2021 09:09:22 -0500
User-agent: Evolution 3.36.4-0ubuntu1

On Tue, 2021-03-09 at 05:10 +0000, Cook, Malcolm wrote:
> Is it possible using Gnu Make to delete all out of date targets?

Well, you could set the SHELL variable to a script that parsed its
command line only well enough to understand what target it was supposed
to build, then deleted it instead of building it.

Might not be simple depending on how many different kinds of build
commands you use.

There is nothing built in to make that would so something like that,
that I'm aware of.




reply via email to

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