[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
using $(@F) as a dependency
From: |
troy |
Subject: |
using $(@F) as a dependency |
Date: |
Thu, 19 Sep 2002 15:16:13 -0500 |
User-agent: |
Mutt/1.3.25i |
I'm trying to create a makefile that will copy scripts to a bin directory.
With non-gmake make's I use something like:
bsd make:
FILES = /usr/local/bin/file1 /usr/local/bin/file2
${FILES}: ${@:T}
cp $? $@
posix make:
FILES = /usr/local/bin/file1 /usr/local/bin/file2
${FILES}: address@hidden
cp $? $@
What's the right way to do this using gmake?
--
address@hidden
GPG keyid=4C04D07A
GPG fingerprint=A63A 4719 C7D6 0BF7 B487 7B4C 2B38 487B 4C04 D07A
- using $(@F) as a dependency,
troy <=