library of make fragments

Joshua DeWeese <[email protected]>
Newsgroups gmane.comp.gnu.make.bugs
Message-ID <CAB8xaQ6W3ZLc_R-7UZ2TJ2S8pC0LsY6erERqJk-R9TqywDnVZA@mail.gmail.com>
Hi,

I was wondering about the possibility of adding, as a feature to make,
the addition of a standard makefile fragments library. I have started
such a library. It started out as a collection of boilerplate snippets
that I kept privately and copy-pasted into project makefiles. Then I
started breaking them out into includable makefile fragments to make
maintaining them across multiple projects more manageable. I then
realized that they could be generalized and distributed for use by
other people. I have some ideas about adding semantic versioning to
make the API stable, not yet implemented, but here is what I have so
far:

https://gitlab.com/enoch247/fracture

It would be really cool if Make provided something like this in a
manner similar to the relationship between GCC and libc. I'm not a fan
of the implicit rules of Make, and would rather see that kind of
functionality be handled by something like this.

-Josh
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.