view src/timer/Makefile.wat @ 1326:9439c2f1da89

From: Hayashi Naoyuki I tried to compile with gcc on Tru64, and got the following error. SDL_systimer.c:45:45: error: operator '&&' has no right operand It succeeds if changing #if (defined _POSIX_TIMERS && _POSIX_TIMERS > 0) to #if (defined _POSIX_TIMERS && _POSIX_TIMERS + 0 > 0)
author Sam Lantinga <slouken@libsdl.org>
date Fri, 03 Feb 2006 07:43:42 +0000
parents 173c063d4f55
children
line wrap: on
line source

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

object_files=SDL_timer.obj SDL_systimer.obj
ExtraCFlags=

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

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

all : $(object_files)

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

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