Watcom.mif
changeset 1190 173c063d4f55
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Watcom.mif	Wed Nov 23 07:29:56 2005 +0000
     1.3 @@ -0,0 +1,33 @@
     1.4 +#=============================================================================
     1.5 +#             This file contains the common includes for the
     1.6 +#               Watcom makefiles to build SDL.DLL for OS/2
     1.7 +#
     1.8 +#
     1.9 +#=============================================================================
    1.10 +
    1.11 +# Create debug build or not?
    1.12 +#debug_build=defined
    1.13 +
    1.14 +# Special flags for building SDL
    1.15 +SDLCFlags = -dBUILD_SDL -dCHECK_LEAKS
    1.16 +
    1.17 +#
    1.18 +#==============================================================================
    1.19 +#
    1.20 +
    1.21 +!ifdef debug_build
    1.22 +debugflags = -d2 -dDEBUG_BUILD
    1.23 +!else
    1.24 +debugflags =
    1.25 +!endif
    1.26 +
    1.27 +cflags = -zq $(debugflags) -bd -bm -bt=OS2 -5s -fpi -sg -otexan -wx -ei $(SDLCFlags) $(ExtraCFlags)
    1.28 +
    1.29 +.extensions:
    1.30 +.extensions: .lib .dll .obj .c .asm
    1.31 +
    1.32 +.c.obj : .AUTODEPEND
    1.33 +    wcc386 $[* $(cflags)
    1.34 +
    1.35 +.asm.obj : .AUTODEPEND
    1.36 +    nasm -t -O2 -f obj -I$(%include) $[*.asm