[bug #67825] $^ is set incorrectly in the case of grouped targets

Dmitry Goncharov <[email protected]> Thu, 18 Dec 2025 13:47:13 -0500 (EST)
Newsgroups gmane.comp.gnu.make.bugs
Message-ID <[email protected]>
Follow-up Comment #2, bug #67825 (group make):


> It seems that the prerequisite of the first rule *target2 : file2* is not
> properly propagated to the grouped target recipe.

There is no mechanism of propagating prerequisites of a target to an unrelated
target. Declare that target1 depends on file2, if that's your objective.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?67825>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaURMMAAKCRCqLAuaBUf3
TtXMAQCK+r9XoTQTZZWUsiUp6wt0paYaCxPnnOK2MfK4EnNbXgEA6yhdHmYAubAu
rEhpInkEo5iqlXmhcRKA5ZSCKj2goAw=
=/wbr
-----END PGP SIGNATURE-----