src/thread/Makefile.wat
author Sam Lantinga
Mon, 06 Feb 2006 08:28:51 +0000
changeset 1330 450721ad5436
parent 1190 173c063d4f55
permissions -rw-r--r--
It's now possible to build SDL without any C runtime at all on Windows,
using Visual C++ 2005
     1 #=============================================================================
     2 #          This is a Watcom makefile to build SDL.DLL for OS/2
     3 #
     4 # Makefile for threading
     5 #=============================================================================
     6 
     7 object_files=SDL_thread.obj SDL_sysmutex.obj SDL_syssem.obj SDL_systhread.obj SDL_syscond.obj
     8 ExtraCFlags=
     9 
    10 #
    11 #==============================================================================
    12 #
    13 !include ..\..\Watcom.mif
    14 
    15 .before
    16     set include=$(%os2tk)\h;$(%include);../../include;./os2;../;
    17 
    18 all : $(object_files)
    19 
    20 SDL_sysmutex.obj: .AUTODEPEND
    21     wcc386 os2\SDL_sysmutex.c $(cflags)
    22 
    23 SDL_syssem.obj: .AUTODEPEND
    24     wcc386 os2\SDL_syssem.c $(cflags)
    25 
    26 SDL_systhread.obj: .AUTODEPEND
    27     wcc386 os2\SDL_systhread.c $(cflags)
    28 
    29 SDL_syscond.obj: .AUTODEPEND
    30     wcc386 os2\SDL_syscond.c $(cflags)
    31 
    32 clean : .SYMBOLIC
    33         @if exist *.obj del *.obj
    34         @if exist *.map del *.map
    35         @if exist *.res del *.res
    36         @if exist *.lst del *.lst