view src/cdrom/Makefile.wat @ 1286:d7bca8c8161e

Use the executable directory, not the current directory, for stdio output files
author Sam Lantinga <slouken@libsdl.org>
date Sun, 29 Jan 2006 08:39:35 +0000
parents 173c063d4f55
children
line wrap: on
line source

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

object_files=SDL_syscdrom.obj SDL_cdrom.obj
ExtraCFlags=

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

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

all : $(object_files)

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

SDL_cdrom.obj : .AUTODEPEND
    wcc386 SDL_cdrom.c $(cflags)

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