https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102322
Bug ID: 102322 Summary: libgm2 Makefiles should be self-contained Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2 Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org Target Milestone: --- When trying to investigate PR modula2/101389, I noticed that the libgm2 Makefiles use several Makefiles that are only passed in from the toplevel, like GM2_FOR_TARGET. This is both inconvenient (if you want to build just a single target when investigating some issue, you have to determine the missing variables from the toplevel Makefile and pass them explicitly) and not in line with the other target libraries. Every libgm2 Makefile should be self-contained, meaning every variable used (or at least the required ones) should be substituted into the Makefiles at configure time.