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

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

  av> Hmmm... perhaps I haven't got it right, but I haven't been able to
  av> use that because in the rule I miss dependencies (sources) for
  av> building real.%.

If there are prerequisites to build real.*, you have to list them as
prerequisites of the .dummy target.

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

  av> I only found "Java compilation: I don't like Ant"
  av> http://lists.gnu.org/archive/html/help-make/2002-04/msg00026.html

It was discussed on the make-alpha list I believe.

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