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}: ${@F}
        cp $? $@

What's the right way to do this using gmake?

-- 
[EMAIL PROTECTED]
GPG keyid=4C04D07A
GPG fingerprint=A63A 4719 C7D6 0BF7 B487  7B4C 2B38 487B 4C04 D07A


_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to