Common makefile (gasp) stuff
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jan 13 21:48:26 PST 2015
On 1/13/15 8:49 PM, Walter Bright wrote:
> It's a few lines of duplication, as opposed to adding another point of
> failure to the build process, i.e. common.mak isn't found or the wrong
> one is found, etc.
I'd have difficulty agreeing with this. If dmd is found then whatever is
there is found. It's a deterministic process, not an arbitrary path
lookup dependent on system vagaries.
Plus... duplication only grows.
> I've always tended to avoid using make macro include's for this reason.
I think I failed to grasp the reason.
Andrei
More information about the Digitalmars-d
mailing list