view src/thread/Makefile.wat @ 1227:3202d727bb4b

From Mike Frysinger and/or Gentoo: - libsdl-PIC-hermes-cpuid.patch rewrites the code in _Hermes_X86_CPU so that it doesnt require the local cpu_flags memory variable, it just uses registers. test case: http://dev.gentoo.org/~vapier/libsdl/hermes-cpuid-test.tar.bz2
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 05 Jan 2006 07:08:59 +0000
parents 173c063d4f55
children
line wrap: on
line source

#=============================================================================
#          This is a Watcom makefile to build SDL.DLL for OS/2
#
# Makefile for threading
#=============================================================================

object_files=SDL_thread.obj SDL_sysmutex.obj SDL_syssem.obj SDL_systhread.obj SDL_syscond.obj
ExtraCFlags=

#
#==============================================================================
#
!include ..\..\Watcom.mif

.before
    set include=$(%os2tk)\h;$(%include);../../include;./os2;../;

all : $(object_files)

SDL_sysmutex.obj: .AUTODEPEND
    wcc386 os2\SDL_sysmutex.c $(cflags)

SDL_syssem.obj: .AUTODEPEND
    wcc386 os2\SDL_syssem.c $(cflags)

SDL_systhread.obj: .AUTODEPEND
    wcc386 os2\SDL_systhread.c $(cflags)

SDL_syscond.obj: .AUTODEPEND
    wcc386 os2\SDL_syscond.c $(cflags)

clean : .SYMBOLIC
        @if exist *.obj del *.obj
        @if exist *.map del *.map
        @if exist *.res del *.res
        @if exist *.lst del *.lst