Hi Randy,

"Randy" <[EMAIL PROTECTED]> 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
_______________________________________________
help-gnu-utils mailing list
help-gnu-utils@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-utils

Reply via email to