Re: Gnu make option to fix parallel multiple ar on a shared archive
Paul Smith <[email protected]> Mon, 12 Aug 2024 08:00:15 -0400
| Newsgroups | gmane.comp.gnu.make.general |
|---|---|
| Organization | GNU's Not UNIX! |
| Message-ID | <[email protected]> |
On Sun, 2024-08-11 at 11:30 -0700, Kaz Kylheku wrote: > Then, the generator must also emit a new rule like this If you can change the makefile then I don't see why the very simple solution provided in the GNU Make manual wouldn't just be used instead of inventing something complex. You can even do this from the command line using the -f option or the MAKEFILES environment variable _without_ changing the existing makefiles: create a simple makefile that rewrites the archive rules then cause it to be included first. Or, even just use the -E (--eval) option to provide the rules directly on the command line if you have a sufficiently new version of GNU Make.