Mercurial > sdl-ios-xcode
diff Watcom.mif @ 1190:173c063d4f55
OS/2 port!
This was mostly, if not entirely, written by "Doodle" and "Caetano":
doodle@scenergy.dfmk.hu
daniel@caetano.eng.br
--ryan.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 23 Nov 2005 07:29:56 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Watcom.mif Wed Nov 23 07:29:56 2005 +0000 @@ -0,0 +1,33 @@ +#============================================================================= +# This file contains the common includes for the +# Watcom makefiles to build SDL.DLL for OS/2 +# +# +#============================================================================= + +# Create debug build or not? +#debug_build=defined + +# Special flags for building SDL +SDLCFlags = -dBUILD_SDL -dCHECK_LEAKS + +# +#============================================================================== +# + +!ifdef debug_build +debugflags = -d2 -dDEBUG_BUILD +!else +debugflags = +!endif + +cflags = -zq $(debugflags) -bd -bm -bt=OS2 -5s -fpi -sg -otexan -wx -ei $(SDLCFlags) $(ExtraCFlags) + +.extensions: +.extensions: .lib .dll .obj .c .asm + +.c.obj : .AUTODEPEND + wcc386 $[* $(cflags) + +.asm.obj : .AUTODEPEND + nasm -t -O2 -f obj -I$(%include) $[*.asm