view test/Makefile.wat @ 1265:670e74bf5cc8

Date: Mon, 22 Sep 2003 23:31:54 -0700 (PDT) From: Rob Neff Subject: [SDL] testgl.c minor bug fix for fullscreen mode from: if ( strcmp(argv[1], "-fullscreen") == 0 ) { to: if ( strcmp(argv[i], "-fullscreen") == 0 ) { Minor bug, but might help someone else out who is trying to pass the command-line params -logo -fullscreen like I was! :)
author Sam Lantinga <slouken@libsdl.org>
date Wed, 25 Jan 2006 07:04:02 +0000
parents 173c063d4f55
children
line wrap: on
line source

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

# Create debug build or not?
debug_build=defined

#-----------------------------------------------------------------------------
# The next part is somewhat general, for creation of EXE files.
#-----------------------------------------------------------------------------

cflags = $(debugflags) -bm -bt=OS2 -5 -fpi -sg -otexan -wx -ei

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

.extensions:
.extensions: .exe .obj .c

all :   testalpha.exe     &
        testbitmap.exe    &
        testcdrom.exe     &
        testcpuinfo.exe   &
        testjoystick.exe  &
        testkeys.exe      &
        testlock.exe      &
        testsem.exe       &
        testsprite.exe    &
        testtimer.exe     &
        testtypes.exe     &
        testver.exe       &
        testvidinfo.exe   &
        testwin.exe       &
        testwm.exe        &
        threadwin.exe     &
        torturethread.exe &
        checkkeys.exe

.c.obj : .AUTODEPEND
    wcc386 -zq -bm -5s -ei -oteaxan -wx $[* $(cflags)

.obj.exe : .AUTODEPEND
    wlink system os2v2 F $* L ..\src\sdl.lib name $@ op quiet

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