help-make
[Top][All Lists]
Advanced

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

Re: How to deal with a target in the dependence chain that is deleted af


From: Allan Odgaard
Subject: Re: How to deal with a target in the dependence chain that is deleted after the command execution?
Date: Sun, 27 Dec 2009 15:25:27 +0100

On 27 Dec 2009, at 05:13, Peng Yu wrote:

[...]
I can not easily find that I need to use either .INTERMEDIATE or
.SECONDARY from the table of content below.

You can let make delete ‘test.txt’ after use by making it a prerequisite of the special .INTERMEDIATE goal, but I am not sure this is what you want.

What you do need is use ‘gzip -f $<’ or alternatively ‘gzip < $< > address@hidden to avoid the replace warning your original post mentioned. Other than that, I don’t see any problems with your Makefile.





reply via email to

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