Re: auto-dependency generation via patterns on make 3.8.2
Yclept Nemo <[email protected]> Mon, 20 Oct 2025 19:42:01 -0400
| Newsgroups | gmane.comp.gnu.make.general |
|---|---|
| Message-ID | <CALurfZV7q7m+8zvaWbO7+fY87nv6LMBoervdOiqKx86w71CMYg@mail.gmail.com> |
Yes I agree with both Basile & Kaz. It was very simple to switch to tracking a list of sources. In the future I will simply be sure to select a more modern version of make. On Wed, Oct 15, 2025 at 6:04=E2=80=AFAM Basile Starynkevitch < [email protected]> wrote: > On Mon, 2025-10-13 at 18:50 -0400, Yclept Nemo wrote: > > As a variation of [1], I am trying to implement auto-dependency > generation > > without tracking a list of sources (SRCS). I've managed to get everythi= ng > > working on make 4.4, and with a few hacks everything except empty recip= e > > forcing for pattern rules on make 3.8.2. > > > 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 > obtained from gcc.gnu.org ...) and I guess you have one > (probably if you don't build software you might not need GNU make). > > Regards > > PS. Once you have a working GNU make and other utilities and are able to > recompile and rebuild and reinstall GNU make I suggest compiling GNU guil= e > and having another make with GNU guile enabled inside it > -- > > Basile STARYNKEVITCH <[email protected]= > > 8 rue de la Fa=C3=AFencerie > http://starynkevitch.net/Basile/ > 92340 Bourg-la-Reine https://github.com/bstarynk > France > https://github.com/RefPerSys/RefPerSys > https://orcid.org/0000-0003-0908-5250 >