You are correct, second expansion is only for prerequisites ($$* in the pattern-specific variable has no effect). I would really like this feature. What is the complexity of putting it in? I was able in the past to modify job.c to abort at the first error, so I am willing to try.
Thanks, Martin > I'm not at all sure this can be made to work, because automatic > variables are defined in the context of the command script for the rule > only (see the docs), but if it has any chance to work you MUST use an > escaped "$" in the parent_stem setting: > > rule_%: parent_stem=$$* > > (again see the docs for .SECONDEXPANSION) > _______________________________________________ Help-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-make
