[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make static pattern rule
From: |
Stepan Kasal |
Subject: |
Re: make static pattern rule |
Date: |
Fri, 21 Jan 2005 11:13:41 +0100 |
User-agent: |
Mutt/1.4.1i |
Hi,
On Fri, Jan 21, 2005 at 05:58:15PM +1100, YourName wrote:
> I want to transform files form fileName (ie no extension) to fileName.pp
> using my utility "xform".
> Using make (3.80) static pattern rule:
>
> files = fileA.pp fileB.pp
> $(files): %.pp: %
> xform $< > $@
>
> only the first file (fileA.pp) ever gets processed (ie created).
I tried to put these three lines to a Makefile (replacing xform with cat),
then I created fileA and fileB, and then tried
make fileA.pp
make fileB.pp
Both command succeeded, so I can say I wasn't able to reproduce your bug.
Can you reduce the problem to something small and reproducible?
Have a nice day,
Stepan Kasal