[RFA]: simulator build failures with parallel make
Paul D. Smith
psmith@gnu.org
Mon Apr 16 18:25:00 GMT 2001
%% Eli Zaretskii <eliz@is.elta.co.il> 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
sources.
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 <psmith@gnu.org> 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
More information about the Gdb-patches
mailing list