[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using $(@F) as a dependency
From: |
troy |
Subject: |
Re: using $(@F) as a dependency |
Date: |
Thu, 19 Sep 2002 15:48:02 -0500 |
User-agent: |
Mutt/1.3.25i |
Quoting Paul D. Smith (address@hidden):
> This is not POSIX make. In fact, I don't know of _any_ make that will
> accept this. SysV make will allow:
>
> $(FILES): $$(@F)
Yes, this is what I had seen before.
> In the currently released version of GNU make you could use an implicit
> rule:
>
> /usr/local/bin/% : %
> cp $< $@
>
> all: $(FILES)
>
And this works great! Thanks.
--
address@hidden
GPG keyid=4C04D07A
GPG fingerprint=A63A 4719 C7D6 0BF7 B487 7B4C 2B38 487B 4C04 D07A