Makefile experts, unite!

Jonathan M Davis via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 12 00:00:46 PDT 2017


On Monday, June 12, 2017 06:34:31 Sebastien Alaiwan via Digitalmars-d wrote:
> On Monday, 12 June 2017 at 06:30:16 UTC, ketmar wrote:
> > Jonathan M Davis wrote:
> >> It's certainly a pain to edit the makefiles though
> >
> > and don't forget those Great Copying Lists to copy modules.
> > forgetting to include module in one of the lists was happened
> > before, not once or twice...
>
> I don't get it, could you please show an example?

posix.mak is a lot better than it used to be, but with win{32,64}.mak, you
have to list the modules all over the place. So, adding or removing a module
becomes a royal pain, and it's very easy to screw up. Ideally, we'd just
list the modules once in one file that was then used across all of the
platforms rather than having to edit several files every time we add or
remove anything. And the fact that we're using make for all of this makes
that difficult if not impossible (especially with the very limited make that
we're using on Windows). IMHO, switching to something like reggae would be
an enormous improvement.

It's true that we don't have to constantly edit the makefiles, so it's not a
constant pain point, but it does come up every time we add or remove any
modules, and the pain in dealing with the makefiles and the time wasted with
them adds up over time.

- Jonathan M Davis



More information about the Digitalmars-d mailing list