This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFA]: simulator build failures with parallel make

%% Eli Zaretskii <> writes:

  ez> but GNU Make should have a cleaner feature for when a command
  ez> produces several target files in a single run.  (Pattern rules
  ez> only work well when all the files created by the program have the
  ez> same stem; if not, you need to define your patterns
  ez> ``creatively''.)

Agree 100%; I've often wished for a way to do multiple targets with
explicit rules.

But, as always, the hurdles are (a) finding a decent syntax which is
also backward compatible (or at least largely so), and (b) finding the
time to implement it; this is probably not a lot of actual code, but it
does involve tiptoeing through some pretty hairy parts of the make

For (a), someone suggested using "+:" as a separator to denote that the
targets are all built at once which, while not strictly backwards
compatible, is not too bad.

 Paul D. Smith <>          Find some GNU make tips at:            
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]