<rant> D's makefiles... </rant>

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon Apr 13 13:41:20 PDT 2015


On 4/13/15 7:34 AM, H. S. Teoh via Digitalmars-d wrote:
> On Mon, Apr 13, 2015 at 02:24:57PM +0000, Dicebot via Digitalmars-d wrote:
>> I want to replace those with D scripts for a reason.
>
> Now that dmd is dependent on an existing version of dmd to build, it
> should be no problem to replace the makefiles with D code. Everytime
> something like this happens I just see all the flaws of makefiles all
> over again, but unfortunately some people just refuse the acknowledge
> that makefiles are going the way of the dinosaur and it's time to move
> on.

A thought: any makefile replacement should make sure there's an 
equivalent to "-j".

My personal feeling: the build is really low on the priority list no 
matter how you sort it - except "least impact stuff first" :o) - and 
replacing makefiles with even the perfect solution won't improve 
anything measurably.

Atila: "make clean" should work. Must have been something weird on your 
system.


Andrei



More information about the Digitalmars-d mailing list