List Info

Thread: Multiple Targets




Multiple Targets
user name
2006-05-24 04:41:02
I have a need for a build system that operates like this:

a.prm b.prm : prerequisite
      commonbuildrule

However, I've found that gnumake,

[yatesdsp sim]$ make --version
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying
conditions.
There is NO warranty; not even for MERCHANTABILITY or
FITNESS FOR A
PARTICULAR PURPOSE.

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).

Is there a way to accomplish my goals using make?

--Randy

_______________________________________________
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 )