help-make
[Top][All Lists]
Advanced

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

Re: .PHONY non-rules


From: Michael Ludwig
Subject: Re: .PHONY non-rules
Date: Thu, 30 May 2013 20:10:45 +0200
User-agent: Mutt/1.5.21+52 (c26dbc7021f4) (2011-07-01)

Reinier Post schrieb am 22.03.2013 um 10:35 (+0100):
> On Fri Mar 22 01:37:01 2013, address@hidden (Magnus Fromreide) wrote:
> 
> > [...]
> > I couldn't find anything about .PHONY making it's dependants into
> > targets in the manual.
> 
> Um, that's the whole purpose of a .PHONY rule.
> 
>   http://www.gnu.org/software/make/manual/html_node/Phony-Targets.html

Hmm, why would implicit target creation be the purpose of .PHONY ? One
could imagine (like Magnus) the usual error being flagged when a non-
existing .PHONY target is invoked. Instead, none is flagged; maybe as a
convenience to the user?

The above manual page does not document implicit target creation either.
To me, it looks like implicit no-rule target creation (as Dave Hylands
explained) is an undocumented feature of how .PHONY works.

Michael



reply via email to

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