help-make
[Top][All Lists]
Advanced

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

Re: multiple .PHONY or single .PHONY


From: Oleksandr Gavenko
Subject: Re: multiple .PHONY or single .PHONY
Date: Mon, 22 Feb 2010 12:29:03 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1

On 2010.02.18 17:25, Greg Chicares wrote:
I find it clearer to keep a target and its .PHONY dependency together:

.PHONY: x
x: prerequisites
        commands
...
.PHONY: y
y: ...

I also like this.

Placing .PHONY exactly before target declaration
document target type.

--
С уважением, Александр Гавенко.




reply via email to

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