[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple targets via a single process (when using multiple jobs)
From: |
Paul D. Smith |
Subject: |
Re: Multiple targets via a single process (when using multiple jobs) |
Date: |
Wed, 5 Jun 2002 16:44:57 -0400 |
%% "Frank Dicostanzo" <address@hidden> 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 <address@hidden> 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