test/Makefile.in
author Sam Lantinga <slouken@libsdl.org>
Sat, 01 Jan 2011 20:44:38 -0800
changeset 4946 acdd88ebd0a0
parent 4862 7b1d35d98294
child 5151 8ef640410ac9
permissions -rw-r--r--
Missing math library for testgesture
     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) testatomic$(EXE) testaudioinfo$(EXE) testbitmap$(EXE) testblitspeed$(EXE) testcursor$(EXE) testdraw2$(EXE) testdyngles$(EXE) testdyngl$(EXE) testerror$(EXE) testfile$(EXE) testfill$(EXE) testgamma$(EXE) testgl2$(EXE) testgles$(EXE) testgl$(EXE) testhaptic$(EXE) testhread$(EXE) testiconv$(EXE) testime$(EXE) testintersections$(EXE) testjoystick$(EXE) testkeys$(EXE) testloadso$(EXE) testlock$(EXE) testmultiaudio$(EXE) testoverlay2$(EXE) testoverlay$(EXE) testpalette$(EXE) testplatform$(EXE) testpower$(EXE) testresample$(EXE) testsem$(EXE) testshape$(EXE) testsprite2$(EXE) testsprite$(EXE) testspriteminimal$(EXE) testtimer$(EXE) testver$(EXE) testvidinfo$(EXE) testwin$(EXE) testwm2$(EXE) testwm$(EXE) threadwin$(EXE) torturethread$(EXE) testgesture$(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 testresample$(EXE): $(srcdir)/testresample.c
    27 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    28 
    29 testaudioinfo$(EXE): $(srcdir)/testaudioinfo.c
    30 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    31 
    32 testmultiaudio$(EXE): $(srcdir)/testmultiaudio.c
    33 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    34 
    35 testpower$(EXE): $(srcdir)/testpower.c
    36 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    37 
    38 testalpha$(EXE): $(srcdir)/testalpha.c
    39 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
    40 
    41 testbitmap$(EXE): $(srcdir)/testbitmap.c
    42 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    43 
    44 testblitspeed$(EXE): $(srcdir)/testblitspeed.c
    45 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    46 
    47 testcursor$(EXE): $(srcdir)/testcursor.c
    48 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    49 
    50 testintersections$(EXE): $(srcdir)/testintersections.c $(srcdir)/common.c
    51 	$(CC) -o $@ $(srcdir)/testintersections.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
    52 
    53 testdraw2$(EXE): $(srcdir)/testdraw2.c $(srcdir)/common.c
    54 	$(CC) -o $@ $(srcdir)/testdraw2.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
    55 
    56 testdyngl$(EXE): $(srcdir)/testdyngl.c
    57 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    58 
    59 testdyngles$(EXE): $(srcdir)/testdyngles.c
    60 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    61 
    62 testerror$(EXE): $(srcdir)/testerror.c
    63 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    64 
    65 testfile$(EXE): $(srcdir)/testfile.c
    66 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    67 
    68 testfill$(EXE): $(srcdir)/testfill.c
    69 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    70 
    71 testgamma$(EXE): $(srcdir)/testgamma.c
    72 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
    73 
    74 testgl$(EXE): $(srcdir)/testgl.c
    75 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
    76 
    77 testgl2$(EXE): $(srcdir)/testgl2.c $(srcdir)/common.c
    78 	$(CC) -o $@ $(srcdir)/testgl2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
    79 
    80 testgles$(EXE): $(srcdir)/testgles.c $(srcdir)/common.c
    81 	$(CC) -o $@ $(srcdir)/testgles.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
    82 
    83 testhread$(EXE): $(srcdir)/testhread.c
    84 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    85 
    86 testiconv$(EXE): $(srcdir)/testiconv.c
    87 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    88 
    89 testjoystick$(EXE): $(srcdir)/testjoystick.c
    90 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    91 
    92 testkeys$(EXE): $(srcdir)/testkeys.c
    93 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    94 
    95 testlock$(EXE): $(srcdir)/testlock.c
    96 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    97 
    98 testoverlay2$(EXE): $(srcdir)/testoverlay2.c
    99 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   100 
   101 testoverlay$(EXE): $(srcdir)/testoverlay.c
   102 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   103 
   104 testpalette$(EXE): $(srcdir)/testpalette.c
   105 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   106 
   107 testplatform$(EXE): $(srcdir)/testplatform.c
   108 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   109 
   110 testsem$(EXE): $(srcdir)/testsem.c
   111 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   112 
   113 testshape$(EXE): $(srcdir)/testshape.c
   114 	$(CC) -o $@ $? -std=c99 $(CFLAGS) $(LIBS)
   115 
   116 testspriteminimal$(EXE): $(srcdir)/testspriteminimal.c
   117 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   118 
   119 testsprite$(EXE): $(srcdir)/testsprite.c
   120 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   121 
   122 testsprite2$(EXE): $(srcdir)/testsprite2.c $(srcdir)/common.c
   123 	$(CC) -o $@ $(srcdir)/testsprite2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @MATHLIB@
   124 
   125 testtimer$(EXE): $(srcdir)/testtimer.c
   126 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   127 
   128 testver$(EXE): $(srcdir)/testver.c
   129 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   130 
   131 testvidinfo$(EXE): $(srcdir)/testvidinfo.c
   132 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   133 
   134 testwin$(EXE): $(srcdir)/testwin.c
   135 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   136 
   137 testwm$(EXE): $(srcdir)/testwm.c
   138 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   139 
   140 testwm2$(EXE): $(srcdir)/testwm2.c $(srcdir)/common.c
   141 	$(CC) -o $@ $(srcdir)/testwm2.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
   142 
   143 threadwin$(EXE): $(srcdir)/threadwin.c
   144 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   145 
   146 torturethread$(EXE): $(srcdir)/torturethread.c
   147 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   148 
   149 testloadso$(EXE): $(srcdir)/testloadso.c
   150 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   151 
   152 testhaptic$(EXE): $(srcdir)/testhaptic.c
   153 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   154 
   155 testatomic$(EXE): $(srcdir)/testatomic.c
   156 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   157 
   158 testgesture$(EXE): $(srcdir)/testgesture.c
   159 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   160  
   161 testime$(EXE): $(srcdir)/testime.c
   162 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @SDL_TTF_LIB@
   163 
   164 clean:
   165 	rm -f $(TARGETS)
   166 
   167 distclean: clean
   168 	rm -f Makefile
   169 	rm -f config.status config.cache config.log
   170 	rm -rf $(srcdir)/autom4te*