test/Makefile.in
author Sam Lantinga <slouken@libsdl.org>
Sun, 04 Jan 2009 19:33:21 +0000
changeset 2994 7563b99e9a49
parent 2914 fa109e90be36
child 3017 3272431eeee2
permissions -rw-r--r--
Date: Sat, 3 Jan 2009 22:11:18 -0500
From: "Donny Viszneki"
Subject: Re: [SDL] Want to help with SDL 1.3?

>> > For example, here's a good quick project for someone from the TODO list:
>> > * Add diagonal line clipping to SDL_IntersectRectAndLine()

Just wanted to point out that the patch is available at
http://codebad.com/rect-line-ix.patch

I hereby grant Sam Lantinga an irrevocable non-exclusive distribution
license to this patch to do with as he wishes.
     1 # Makefile to build the SDL tests
     2 
     3 srcdir  = @srcdir@
     4 
     5 CC      = @CC@
     6 EXE	= @EXE@
     7 CFLAGS  = @CFLAGS@
     8 LIBS	= @LIBS@
     9 
    10 TARGETS = checkkeys$(EXE) graywin$(EXE) loopwave$(EXE) testaudioinfo$(EXE) testmultiaudio$(EXE) testalpha$(EXE) testbitmap$(EXE) testblitspeed$(EXE) testcdrom$(EXE) testcursor$(EXE) testintersections$(EXE) testdraw2$(EXE) testdyngl$(EXE) testerror$(EXE) testfile$(EXE) testgamma$(EXE) testgl$(EXE) testgl2$(EXE) testhread$(EXE) testiconv$(EXE) testjoystick$(EXE) testkeys$(EXE) testlock$(EXE) testoverlay2$(EXE) testoverlay$(EXE) testpalette$(EXE) testplatform$(EXE) testsem$(EXE) testsprite$(EXE) testsprite2$(EXE) testtimer$(EXE) testver$(EXE) testvidinfo$(EXE) testwin$(EXE) testwm$(EXE) testwm2$(EXE) threadwin$(EXE) torturethread$(EXE) testloadso$(EXE) testhaptic$(EXE) testmmousetablet$(EXE)
    11 
    12 all: Makefile $(TARGETS)
    13 
    14 Makefile: $(srcdir)/Makefile.in
    15 	$(SHELL) config.status $@
    16 
    17 checkkeys$(EXE): $(srcdir)/checkkeys.c
    18 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    19 
    20 graywin$(EXE): $(srcdir)/graywin.c
    21 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    22 
    23 loopwave$(EXE): $(srcdir)/loopwave.c
    24 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    25 
    26 testaudioinfo$(EXE): $(srcdir)/testaudioinfo.c
    27 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    28 
    29 testmultiaudio$(EXE): $(srcdir)/testmultiaudio.c
    30 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    31 
    32 testalpha$(EXE): $(srcdir)/testalpha.c
    33 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
    34 
    35 testbitmap$(EXE): $(srcdir)/testbitmap.c
    36 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    37 
    38 testblitspeed$(EXE): $(srcdir)/testblitspeed.c
    39 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    40 
    41 testcdrom$(EXE): $(srcdir)/testcdrom.c
    42 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    43 
    44 testcursor$(EXE): $(srcdir)/testcursor.c
    45 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    46 
    47 testintersections$(EXE): $(srcdir)/testintersections.c $(srcdir)/common.c
    48 	$(CC) -o $@ $(srcdir)/testintersections.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
    49 
    50 testdraw2$(EXE): $(srcdir)/testdraw2.c $(srcdir)/common.c
    51 	$(CC) -o $@ $(srcdir)/testdraw2.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
    52 
    53 testdyngl$(EXE): $(srcdir)/testdyngl.c
    54 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    55 
    56 testerror$(EXE): $(srcdir)/testerror.c
    57 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    58 
    59 testfile$(EXE): $(srcdir)/testfile.c
    60 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    61 
    62 testgamma$(EXE): $(srcdir)/testgamma.c
    63 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
    64 
    65 testgl$(EXE): $(srcdir)/testgl.c
    66 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
    67 
    68 testgl2$(EXE): $(srcdir)/testgl2.c $(srcdir)/common.c
    69 	$(CC) -o $@ $(srcdir)/testgl2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
    70 
    71 testhread$(EXE): $(srcdir)/testhread.c
    72 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    73 
    74 testiconv$(EXE): $(srcdir)/testiconv.c
    75 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    76 
    77 testjoystick$(EXE): $(srcdir)/testjoystick.c
    78 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    79 
    80 testkeys$(EXE): $(srcdir)/testkeys.c
    81 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    82 
    83 testlock$(EXE): $(srcdir)/testlock.c
    84 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    85 
    86 testoverlay2$(EXE): $(srcdir)/testoverlay2.c
    87 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    88 
    89 testoverlay$(EXE): $(srcdir)/testoverlay.c
    90 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    91 
    92 testpalette$(EXE): $(srcdir)/testpalette.c
    93 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
    94 
    95 testplatform$(EXE): $(srcdir)/testplatform.c
    96 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    97 
    98 testsem$(EXE): $(srcdir)/testsem.c
    99 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   100 
   101 testsprite$(EXE): $(srcdir)/testsprite.c
   102 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   103 
   104 testsprite2$(EXE): $(srcdir)/testsprite2.c $(srcdir)/common.c
   105 	$(CC) -o $@ $(srcdir)/testsprite2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @MATHLIB@
   106 
   107 testtimer$(EXE): $(srcdir)/testtimer.c
   108 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   109 
   110 testver$(EXE): $(srcdir)/testver.c
   111 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   112 
   113 testvidinfo$(EXE): $(srcdir)/testvidinfo.c
   114 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   115 
   116 testwin$(EXE): $(srcdir)/testwin.c
   117 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   118 
   119 testwm$(EXE): $(srcdir)/testwm.c
   120 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   121 
   122 testwm2$(EXE): $(srcdir)/testwm2.c $(srcdir)/common.c
   123 	$(CC) -o $@ $(srcdir)/testwm2.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
   124 
   125 threadwin$(EXE): $(srcdir)/threadwin.c
   126 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   127 
   128 torturethread$(EXE): $(srcdir)/torturethread.c
   129 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   130 
   131 testloadso$(EXE): $(srcdir)/testloadso.c
   132 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   133 
   134 testhaptic$(EXE): $(srcdir)/testhaptic.c
   135 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   136 
   137 testmmousetablet$(EXE): $(srcdir)/testmmousetablet.c
   138 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   139 
   140 clean:
   141 	rm -f $(TARGETS)
   142 
   143 distclean: clean
   144 	rm -f Makefile
   145 	rm -f config.status config.cache config.log
   146 	rm -rf $(srcdir)/autom4te*