[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple Targets
From: |
Boris Kolpackov |
Subject: |
Re: Multiple Targets |
Date: |
Wed, 24 May 2006 10:11:26 +0000 (UTC) |
User-agent: |
nn/6.6.5+RFC1522 |
Hi Randy,
"Randy" <yates@ieee.org> writes:
> a.prm b.prm : prerequisite
> commonbuildrule
>
> wants to execute the build rule for each of a.prm and b.prm. However,
> I don't want this to happen. Not only is this a want, but it is a
> need, since the build rule takes several minutes to execute (and
> in my actual situation, there are many targets, not just two).
Convert it to an implicit pattern rule:
all: a.prm b.prm
a.% b.% : prerequisite
commonbuildrule
hth,
-boris
--
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding