test/Makefile.in
author Sam Lantinga <slouken@libsdl.org>
Mon, 27 Feb 2006 19:19:22 +0000
changeset 1453 2eb75f8a32ca
parent 1421 638da75f9ab8
child 1501 73dc5d39bbf8
permissions -rw-r--r--
Date: Mon, 27 Feb 2006 17:01:43 +0100
From: "William Petiot [exoide]"
Subject: Re: [SDL] cvs version: standard win32 SDL.DLL file test [patch]

I found a bug or two in previous patch, so here is a patch to correct this.
     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) testalpha$(EXE) testbitmap$(EXE) testblitspeed$(EXE) testcdrom$(EXE) testdyngl$(EXE) testerror$(EXE) testfile$(EXE) testgamma$(EXE) testgl$(EXE) testhread$(EXE) testjoystick$(EXE) testkeys$(EXE) testlock$(EXE) testoverlay2$(EXE) testoverlay$(EXE) testpalette$(EXE) testplatform$(EXE) testsem$(EXE) testsprite$(EXE) testtimer$(EXE) testver$(EXE) testvidinfo$(EXE) testwin$(EXE) testwm$(EXE) threadwin$(EXE) torturethread$(EXE)
    11 
    12 all: $(TARGETS)
    13 
    14 checkkeys$(EXE): $(srcdir)/checkkeys.c
    15 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    16 
    17 graywin$(EXE): $(srcdir)/graywin.c
    18 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    19 
    20 loopwave$(EXE): $(srcdir)/loopwave.c
    21 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    22 
    23 testalpha$(EXE): $(srcdir)/testalpha.c
    24 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
    25 
    26 testbitmap$(EXE): $(srcdir)/testbitmap.c
    27 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    28 
    29 testblitspeed$(EXE): $(srcdir)/testblitspeed.c
    30 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    31 
    32 testcdrom$(EXE): $(srcdir)/testcdrom.c
    33 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    34 
    35 testdyngl$(EXE): $(srcdir)/testdyngl.c
    36 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    37 
    38 testerror$(EXE): $(srcdir)/testerror.c
    39 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    40 
    41 testfile$(EXE): $(srcdir)/testfile.c
    42 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    43 
    44 testgamma$(EXE): $(srcdir)/testgamma.c
    45 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
    46 
    47 testgl$(EXE): $(srcdir)/testgl.c
    48 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
    49 
    50 testhread$(EXE): $(srcdir)/testhread.c
    51 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    52 
    53 testjoystick$(EXE): $(srcdir)/testjoystick.c
    54 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    55 
    56 testkeys$(EXE): $(srcdir)/testkeys.c
    57 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    58 
    59 testlock$(EXE): $(srcdir)/testlock.c
    60 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    61 
    62 testoverlay2$(EXE): $(srcdir)/testoverlay2.c
    63 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    64 
    65 testoverlay$(EXE): $(srcdir)/testoverlay.c
    66 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    67 
    68 testpalette$(EXE): $(srcdir)/testpalette.c
    69 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
    70 
    71 testplatform$(EXE): $(srcdir)/testplatform.c
    72 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    73 
    74 testsem$(EXE): $(srcdir)/testsem.c
    75 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    76 
    77 testsprite$(EXE): $(srcdir)/testsprite.c
    78 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
    79 
    80 testtimer$(EXE): $(srcdir)/testtimer.c
    81 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    82 
    83 testver$(EXE): $(srcdir)/testver.c
    84 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    85 
    86 testvidinfo$(EXE): $(srcdir)/testvidinfo.c
    87 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    88 
    89 testwin$(EXE): $(srcdir)/testwin.c
    90 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    91 
    92 testwm$(EXE): $(srcdir)/testwm.c
    93 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    94 
    95 threadwin$(EXE): $(srcdir)/threadwin.c
    96 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    97 
    98 torturethread$(EXE): $(srcdir)/torturethread.c
    99 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   100 
   101 
   102 clean:
   103 	rm -f $(TARGETS)
   104 
   105 distclean: clean
   106 	rm -f Makefile
   107 	rm -f config.status config.cache config.log
   108 	rm -rf $(srcdir)/autom4te*