NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/43534: make does not set $* for PHONY targets
The following reply was made to PR bin/43534; it has been noted by GNATS.
From: David Laight <david%l8s.co.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: bin/43534: make does not set $* for PHONY targets
Date: Sun, 27 Jun 2010 09:38:11 +0100
On Sun, Jun 27, 2010 at 01:15:01AM +0000, dholland%eecs.harvard.edu@localhost
wrote:
> >Number: 43534
> >Category: bin
> >Synopsis: make does not set $* for PHONY targets
...
> $* a.k.a. $(.PREFIX) is not set for targets marked .PHONY.
Some of the make variables are only defined for 'inference rules'
(IIRC the name correctly) which include the suffix rules.
In other cases the actual value is known to the makefile writer.
It is likely that $* is one of these.
David
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index