[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: double-colon AND phony rules
From: |
Paul Smith |
Subject: |
Re: double-colon AND phony rules |
Date: |
Sun, 17 Apr 2011 20:31:19 -0400 |
On Mon, 2011-04-04 at 09:47 -0400, Adam Kellas wrote:
> .PHONY: all clean
>
> all:
> [create a couple of files]
>
> clean:
> [remove target files]
>
> But in this form "all" and "clean" will break when included. Any
> reason not to use "all::" and "clean::" throughout the build system?
No reason that I can think of.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.mad-scientist.net
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist