[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: %-style pattern rules
From: |
BeN [F1233 121D312] |
Subject: |
Re: %-style pattern rules |
Date: |
Thu, 26 Jul 2007 14:42:37 +0200 |
User-agent: |
Thunderbird 2.0.0.5 (X11/20070723) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Lorenzo Bettini wrote:
>
> about rules of the shape, e.g.,
>
> %.txt: %.tt
>
> how else could I implement those make rules?
>
I guess so called old-fashioned style of implicit rules would do:
e.g:
.SUFFIXES: .txt .tt
all: t.txt
.tt.txt:
cp -v $< $@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGqJa9lkEvsvSpPMIRAuVXAJ4lNs8whfs0q60bZn1vvikP8gmWnACbBjDO
mZAsPqNSno4GrJwkIfO8XQc=
=1jth
-----END PGP SIGNATURE-----
Re: %-style pattern rules, Brian Dessent, 2007/07/26