List Info

Thread: Multiple Targets




Multiple Targets
user name
2006-05-24 10:11:26
Hi Randy,

"Randy" <yatesieee.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
_______________________________________________
help-gnu-utils mailing list
help-gnu-utilsgnu.org

http://lists.gnu.org/mailman/listinfo/help-gnu-utils
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )