File by file or all files at the same time.

Sascha Katzner sorry.no at spam.invalid
Wed Aug 13 01:16:43 PDT 2008


lurker wrote:
> I need to build DLLs, Lib files and some EXEs. Should I compile one 
> file at a time and link all .OBJs files or pass all files to the 
> compiler at once?

I prefer to compile all files in one step, because it is a lot faster.

As a good example you can checkout the Win32 API project and build it
with the current makefile and then checkout the previous version (before
"-lib" was introduced:
http://www.dsource.org/projects/bindings/browser/trunk/win32/makefile?rev=251)
of the makefile and see the difference for yourself.

LLAP,
Sascha



More information about the Digitalmars-d mailing list