test/Makefile.in
changeset 5254 f650566b2f51
parent 5243 3a8a452b49f0
child 5360 220d3af9121f
equal deleted inserted replaced
5253:9e70b360f423 5254:f650566b2f51
    47 	testshader$(EXE) \
    47 	testshader$(EXE) \
    48 	testshape$(EXE) \
    48 	testshape$(EXE) \
    49 	testsprite$(EXE) \
    49 	testsprite$(EXE) \
    50 	testsprite2$(EXE) \
    50 	testsprite2$(EXE) \
    51 	testspriteminimal$(EXE) \
    51 	testspriteminimal$(EXE) \
       
    52 	teststreaming$(EXE) \
    52 	testtimer$(EXE) \
    53 	testtimer$(EXE) \
    53 	testver$(EXE) \
    54 	testver$(EXE) \
    54 	testvidinfo$(EXE) \
    55 	testvidinfo$(EXE) \
    55 	testwin$(EXE) \
    56 	testwin$(EXE) \
    56 	testwm$(EXE) \
    57 	testwm$(EXE) \
    79 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    80 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    80 
    81 
    81 testmultiaudio$(EXE): $(srcdir)/testmultiaudio.c
    82 testmultiaudio$(EXE): $(srcdir)/testmultiaudio.c
    82 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    83 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    83 
    84 
    84 testpower$(EXE): $(srcdir)/testpower.c
       
    85 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
       
    86 
       
    87 testalpha$(EXE): $(srcdir)/testalpha.c
    85 testalpha$(EXE): $(srcdir)/testalpha.c
    88 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
    86 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
       
    87 
       
    88 testatomic$(EXE): $(srcdir)/testatomic.c
       
    89 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    89 
    90 
    90 testbitmap$(EXE): $(srcdir)/testbitmap.c
    91 testbitmap$(EXE): $(srcdir)/testbitmap.c
    91 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    92 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
    92 
    93 
    93 testblitspeed$(EXE): $(srcdir)/testblitspeed.c
    94 testblitspeed$(EXE): $(srcdir)/testblitspeed.c
   115 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   116 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   116 
   117 
   117 testfill$(EXE): $(srcdir)/testfill.c
   118 testfill$(EXE): $(srcdir)/testfill.c
   118 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   119 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   119 
   120 
   120 testgamma$(EXE): $(srcdir)/testgamma.c
   121 testgesture$(EXE): $(srcdir)/testgesture.c
   121 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   122 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   122 
   123  
   123 testgl$(EXE): $(srcdir)/testgl.c
   124 testgl$(EXE): $(srcdir)/testgl.c
   124 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
   125 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
   125 
   126 
   126 testgl2$(EXE): $(srcdir)/testgl2.c $(srcdir)/common.c
   127 testgl2$(EXE): $(srcdir)/testgl2.c $(srcdir)/common.c
   127 	$(CC) -o $@ $(srcdir)/testgl2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
   128 	$(CC) -o $@ $(srcdir)/testgl2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
   128 
   129 
   129 testgles$(EXE): $(srcdir)/testgles.c $(srcdir)/common.c
   130 testgles$(EXE): $(srcdir)/testgles.c $(srcdir)/common.c
   130 	$(CC) -o $@ $(srcdir)/testgles.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
   131 	$(CC) -o $@ $(srcdir)/testgles.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
   131 
   132 
       
   133 testhaptic$(EXE): $(srcdir)/testhaptic.c
       
   134 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
       
   135 
   132 testhread$(EXE): $(srcdir)/testhread.c
   136 testhread$(EXE): $(srcdir)/testhread.c
   133 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   137 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   134 
   138 
   135 testiconv$(EXE): $(srcdir)/testiconv.c
   139 testiconv$(EXE): $(srcdir)/testiconv.c
   136 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   140 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   137 
   141 
       
   142 testime$(EXE): $(srcdir)/testime.c
       
   143 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @SDL_TTF_LIB@
       
   144 
   138 testjoystick$(EXE): $(srcdir)/testjoystick.c
   145 testjoystick$(EXE): $(srcdir)/testjoystick.c
   139 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   146 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   140 
   147 
   141 testkeys$(EXE): $(srcdir)/testkeys.c
   148 testkeys$(EXE): $(srcdir)/testkeys.c
   142 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   149 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   143 
   150 
       
   151 testloadso$(EXE): $(srcdir)/testloadso.c
       
   152 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
       
   153 
   144 testlock$(EXE): $(srcdir)/testlock.c
   154 testlock$(EXE): $(srcdir)/testlock.c
   145 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   155 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   146 
   156 
   147 testoverlay2$(EXE): $(srcdir)/testoverlay2.c
   157 testoverlay2$(EXE): $(srcdir)/testoverlay2.c
   148 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   158 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   149 
   159 
   150 testoverlay$(EXE): $(srcdir)/testoverlay.c
   160 testoverlay$(EXE): $(srcdir)/testoverlay.c
   151 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   161 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   152 
   162 
   153 testplatform$(EXE): $(srcdir)/testplatform.c
   163 testplatform$(EXE): $(srcdir)/testplatform.c
       
   164 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
       
   165 
       
   166 testpower$(EXE): $(srcdir)/testpower.c
   154 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   167 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   155 
   168 
   156 testscale$(EXE): $(srcdir)/testscale.c $(srcdir)/common.c
   169 testscale$(EXE): $(srcdir)/testscale.c $(srcdir)/common.c
   157 	$(CC) -o $@ $(srcdir)/testscale.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
   170 	$(CC) -o $@ $(srcdir)/testscale.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
   158 
   171 
   163 	$(CC) -o $@ $(srcdir)/testshader.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
   176 	$(CC) -o $@ $(srcdir)/testshader.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
   164 
   177 
   165 testshape$(EXE): $(srcdir)/testshape.c
   178 testshape$(EXE): $(srcdir)/testshape.c
   166 	$(CC) -o $@ $? -std=c99 $(CFLAGS) $(LIBS)
   179 	$(CC) -o $@ $? -std=c99 $(CFLAGS) $(LIBS)
   167 
   180 
   168 testspriteminimal$(EXE): $(srcdir)/testspriteminimal.c
       
   169 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
       
   170 
       
   171 testsprite$(EXE): $(srcdir)/testsprite.c
   181 testsprite$(EXE): $(srcdir)/testsprite.c
   172 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   182 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
   173 
   183 
   174 testsprite2$(EXE): $(srcdir)/testsprite2.c $(srcdir)/common.c
   184 testsprite2$(EXE): $(srcdir)/testsprite2.c $(srcdir)/common.c
   175 	$(CC) -o $@ $(srcdir)/testsprite2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @MATHLIB@
   185 	$(CC) -o $@ $(srcdir)/testsprite2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @MATHLIB@
   176 
   186 
       
   187 testspriteminimal$(EXE): $(srcdir)/testspriteminimal.c
       
   188 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
       
   189 
       
   190 teststreaming$(EXE): $(srcdir)/teststreaming.c
       
   191 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
       
   192 
   177 testtimer$(EXE): $(srcdir)/testtimer.c
   193 testtimer$(EXE): $(srcdir)/testtimer.c
   178 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   194 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   179 
   195 
   180 testver$(EXE): $(srcdir)/testver.c
   196 testver$(EXE): $(srcdir)/testver.c
   181 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   197 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   195 threadwin$(EXE): $(srcdir)/threadwin.c
   211 threadwin$(EXE): $(srcdir)/threadwin.c
   196 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   212 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   197 
   213 
   198 torturethread$(EXE): $(srcdir)/torturethread.c
   214 torturethread$(EXE): $(srcdir)/torturethread.c
   199 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   215 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
   200 
       
   201 testloadso$(EXE): $(srcdir)/testloadso.c
       
   202 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
       
   203 
       
   204 testhaptic$(EXE): $(srcdir)/testhaptic.c
       
   205 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
       
   206 
       
   207 testatomic$(EXE): $(srcdir)/testatomic.c
       
   208 	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
       
   209 
       
   210 testgesture$(EXE): $(srcdir)/testgesture.c
       
   211 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
       
   212  
       
   213 testime$(EXE): $(srcdir)/testime.c
       
   214 	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @SDL_TTF_LIB@
       
   215 
   216 
   216 clean:
   217 clean:
   217 	rm -f $(TARGETS)
   218 	rm -f $(TARGETS)
   218 
   219 
   219 distclean: clean
   220 distclean: clean