[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make static pattern rule

From: YourName
Subject: make static pattern rule
Date: Fri, 21 Jan 2005 17:58:15 +1100
User-agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)

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).
When a non matching file name (fileC) is appended to the 'files' list a warning is issued, so i concluded target fileB.pp would be processed somewhere along the way although it most definitely does not exist. What am i missing here?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]