[phobos] Makefile

Andrei Alexandrescu andrei at erdani.com
Wed Mar 24 05:50:01 PDT 2010


Oh, indeed. I'd modified the makefile myself, but didn't check it in.

I'm unclear what the best practice is. Walter prefers to have as few 
directories as possible, and I'm with him. On the other hand I prefer to 
put generated files in a separate directory so as to not have them in my 
source open dialogs. Please vote. Until then, dsource.org is down anyway.


Andrei

On 03/24/2010 03:06 AM, Lars Tandle Kyllingstad wrote:
> Andrei Alexandrescu wrote:
>> The posix.mak file in the root of druntime outputs the file to lib/:
>>
>> DRUNTIME=lib/libdruntime.a
>>
>> No?
>
> I'm pretty sure it doesn't. I'm looking at posix.mak in the druntime
> SVN now, and the relevant lines are:
>
> 6 DFLAGS=-O -release -nofloat -w -d -Iimport -Isrc
> ...
> 11 DRUNTIME=libdruntime.a
> ...
> 458 $(DMD) -lib -of$(DRUNTIME) $(DFLAGS) $(SRCS) $(OBJS)
>
> Actually, searching the makefile I find no mention of a lib/ directory
> at all.
>
> -Lars
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos


More information about the phobos mailing list