[EMAIL PROTECTED] writes:

> This is a rewrite of Makefile.watcom

Thanks; I've put it in the repository.

> # Copy this file to the ..\src directory (maybe rename to Makefile). Also:
> # copy config.h.ms ..\src\config.h

Maybe we should provide a "win-build" script (or something) that does
this automatically?

> #disabled for faster compiler
> LFLAGS=sys nt op st=32767 op vers=1.7 op map op q op de 'GNU wget 1.7dev' de all
> CFLAGS=/zp4 /d1 /w4 /fpd /5s /fp5 /bm /mf /os /bt=nt /DWINDOWS /DHAVE_CONFIG_H 
>/I=$(%WATCOM)\h;$(%WATCOM)\h\nt;.
> # /zp4= pack structure members with this alignment
> # /d1 = line number debug info
> # /w4 = warning level
> # /fpd= ??? no such switch !
> # /5s = Pentium stack-based calling
> # /fp5= Pentium floating point
> # /bm = build multi-threaded
> # /mf = flat memory model
> # /os = optimize for size
    ^^^
> # /bt = "build target" (nt)

One thing I don't understand: why do you optimize for size?  Doesn't
it almost always make sense to optimize for speed instead?

Reply via email to