Thanks for your response.

I don't immediately see any patterns that are applicable however I will review the 
section again.

Frank


-----Original Message-----
From: Paul D. Smith [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 4:45 PM
To: Frank Dicostanzo
Cc: [EMAIL PROTECTED]
Subject: Re: Multiple targets via a single process (when using multiple
jobs)


%% "Frank Dicostanzo" <[EMAIL PROTECTED]> writes:

  fd> I would like to specify that a single operation creates multiple
  fd> files.
 
  fd> target1 target2 target3: dep1 ...
  fd>         create-targets...

If your targets are all related by a pattern you can define a pattern
rule with multiple target patterns (see the GNU make manual):

  %1 %2 %3 : ...

This behaves as you want.
 
  fd> I am thinking that the only way to do it is to create a virtual
  fd> file which represents the multiple targets and make the targets1-3
  fd> dependant upon it. Its construction would then create the
  fd> targets. Is there a more direct way?

Not for targets which are unrelated via a pattern.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.paulandlesley.org/gmake/
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to