Re: auto-dependency generation via patterns on make 3.8.2

Basile Starynkevitch <[email protected]> Wed, 15 Oct 2025 12:04:05 +0200
Newsgroups gmane.comp.gnu.make.general
Message-ID <[email protected]>
On Mon, 2025-10-13 at 18:50 -0400, Yclept Nemo wrote:
> As a variation of [1], I am trying to implement auto-dependency generatio=
n
> without tracking a list of sources (SRCS). I've managed to get everything
> working on make 4.4, and with a few hacks everything except empty recipe
> forcing for pattern rules on make 3.8.2.=20


You definitely should compile GNU make 4.4 (or later) from its source code,=
 which you can fetch from many places.
That takes less than an hour (at least if you don't enable GNU guile).



Of course you need a C compiler (but I hope you can download a binary obtai=
ned from gcc.gnu.org ...) and I guess you have one
(probably if you don't build software you might not need GNU make).=20

Regards

PS. Once you have a working GNU make and other utilities and are able to re=
compile and rebuild and reinstall GNU make I suggest compiling GNU guile
and having another make with GNU guile enabled inside it
--=20

Basile STARYNKEVITCH                            <[email protected]>
8 rue de la Fa=C3=AFencerie                       http://starynkevitch.net/=
Basile/ =20
92340 Bourg-la-Reine                         https://github.com/bstarynk
France                                https://github.com/RefPerSys/RefPerSy=
s
                  https://orcid.org/0000-0003-0908-5250