%% Alessandro Vesely <[EMAIL PROTECTED]> writes:

  av> Is there a generic mechanism for simultaneously producing more
  av> than one target?

There's a trick you can use, like this:

    foo: real.1
    bar: real.2

    real.1 real.2: .dummy

    .dummy:
            <Rule to create real.1 & real.2>
            @touch $@

  av> If not, does GNU make deserve one? Shall we discuss that here?

There was a proposal for a new kind of explicit rule syntax that allowed
you to define a rule as creating multiple targets at once.  It hasn't
been implemented though.

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


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

Reply via email to