test/Makefile.wat
changeset 1190 173c063d4f55
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/Makefile.wat	Wed Nov 23 07:29:56 2005 +0000
     1.3 @@ -0,0 +1,52 @@
     1.4 +#=============================================================================
     1.5 +#          This is a Watcom makefile to build SDL.DLL for OS/2
     1.6 +#
     1.7 +# Makefile for test applications
     1.8 +#=============================================================================
     1.9 +
    1.10 +# Create debug build or not?
    1.11 +debug_build=defined
    1.12 +
    1.13 +#-----------------------------------------------------------------------------
    1.14 +# The next part is somewhat general, for creation of EXE files.
    1.15 +#-----------------------------------------------------------------------------
    1.16 +
    1.17 +cflags = $(debugflags) -bm -bt=OS2 -5 -fpi -sg -otexan -wx -ei
    1.18 +
    1.19 +.before
    1.20 +    set include=$(%os2tk)\h;$(%include);../include
    1.21 +
    1.22 +.extensions:
    1.23 +.extensions: .exe .obj .c
    1.24 +
    1.25 +all :   testalpha.exe     &
    1.26 +        testbitmap.exe    &
    1.27 +        testcdrom.exe     &
    1.28 +        testcpuinfo.exe   &
    1.29 +        testjoystick.exe  &
    1.30 +        testkeys.exe      &
    1.31 +        testlock.exe      &
    1.32 +        testsem.exe       &
    1.33 +        testsprite.exe    &
    1.34 +        testtimer.exe     &
    1.35 +        testtypes.exe     &
    1.36 +        testver.exe       &
    1.37 +        testvidinfo.exe   &
    1.38 +        testwin.exe       &
    1.39 +        testwm.exe        &
    1.40 +        threadwin.exe     &
    1.41 +        torturethread.exe &
    1.42 +        checkkeys.exe
    1.43 +
    1.44 +.c.obj : .AUTODEPEND
    1.45 +    wcc386 -zq -bm -5s -ei -oteaxan -wx $[* $(cflags)
    1.46 +
    1.47 +.obj.exe : .AUTODEPEND
    1.48 +    wlink system os2v2 F $* L ..\src\sdl.lib name $@ op quiet
    1.49 +
    1.50 +clean : .SYMBOLIC
    1.51 +        @if exist *.exe del *.exe
    1.52 +        @if exist *.obj del *.obj
    1.53 +        @if exist *.map del *.map
    1.54 +        @if exist *.res del *.res
    1.55 +        @if exist *.lst del *.lst