[phobos] Makefile

Lars Tandle Kyllingstad lars at kyllingen.net
Wed Mar 24 01:06:32 PDT 2010


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


More information about the phobos mailing list