view src/joystick/Makefile.wat @ 1416:a4c05c115bb7

Fixed script on mingw
author Sam Lantinga <slouken@libsdl.org>
date Wed, 22 Feb 2006 04:44:33 +0000
parents 173c063d4f55
children
line wrap: on
line source

#=============================================================================
#          This is a Watcom makefile to build SDL.DLL for OS/2
#
# Makefile for joystick (using the dummy joystick driver)
#=============================================================================

object_files=SDL_joystick.obj SDL_sysjoystick.obj
ExtraCFlags=

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

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

all : $(object_files)

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

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