Atlas - Makefile.in

Home / ext / SDL2 / test Lines: 1 | Size: 8282 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)]
[FILE BEGIN]
1# Makefile to build the SDL tests 2 3srcdir = @srcdir@ 4 5CC = @CC@ 6EXE = @EXE@ 7CFLAGS = @CFLAGS@ -g 8LIBS = @LIBS@ 9 10TARGETS = \ 11 checkkeys$(EXE) \ 12 controllermap$(EXE) \ 13 loopwave$(EXE) \ 14 loopwavequeue$(EXE) \ 15 testatomic$(EXE) \ 16 testaudiocapture$(EXE) \ 17 testaudiohotplug$(EXE) \ 18 testaudioinfo$(EXE) \ 19 testautomation$(EXE) \ 20 testbounds$(EXE) \ 21 testcustomcursor$(EXE) \ 22 testdisplayinfo$(EXE) \ 23 testdraw2$(EXE) \ 24 testdrawchessboard$(EXE) \ 25 testdropfile$(EXE) \ 26 testerror$(EXE) \ 27 testfile$(EXE) \ 28 testfilesystem$(EXE) \ 29 testgamecontroller$(EXE) \ 30 testgesture$(EXE) \ 31 testgl2$(EXE) \ 32 testgles$(EXE) \ 33 testgles2$(EXE) \ 34 testhaptic$(EXE) \ 35 testhittesting$(EXE) \ 36 testhotplug$(EXE) \ 37 testiconv$(EXE) \ 38 testime$(EXE) \ 39 testintersections$(EXE) \ 40 testjoystick$(EXE) \ 41 testkeys$(EXE) \ 42 testloadso$(EXE) \ 43 testlock$(EXE) \ 44 testmessage$(EXE) \ 45 testmultiaudio$(EXE) \ 46 testnative$(EXE) \ 47 testoverlay2$(EXE) \ 48 testplatform$(EXE) \ 49 testpower$(EXE) \ 50 testqsort$(EXE) \ 51 testrelative$(EXE) \ 52 testrendercopyex$(EXE) \ 53 testrendertarget$(EXE) \ 54 testresample$(EXE) \ 55 testrumble$(EXE) \ 56 testscale$(EXE) \ 57 testsem$(EXE) \ 58 testsensor$(EXE) \ 59 testshader$(EXE) \ 60 testshape$(EXE) \ 61 testsprite2$(EXE) \ 62 testspriteminimal$(EXE) \ 63 teststreaming$(EXE) \ 64 testthread$(EXE) \ 65 testtimer$(EXE) \ 66 testver$(EXE) \ 67 testviewport$(EXE) \ 68 testvulkan$(EXE) \ 69 testwm2$(EXE) \ 70 testyuv$(EXE) \ 71 torturethread$(EXE) \ 72 73all: Makefile $(TARGETS) copydatafiles 74 75Makefile: $(srcdir)/Makefile.in 76 $(SHELL) config.status $@ 77 78checkkeys$(EXE): $(srcdir)/checkkeys.c 79 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 80 81loopwave$(EXE): $(srcdir)/loopwave.c 82 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 83 84loopwavequeue$(EXE): $(srcdir)/loopwavequeue.c 85 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 86 87testresample$(EXE): $(srcdir)/testresample.c 88 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 89 90testaudioinfo$(EXE): $(srcdir)/testaudioinfo.c 91 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 92 93testautomation$(EXE): $(srcdir)/testautomation.c \ 94 $(srcdir)/testautomation_audio.c \ 95 $(srcdir)/testautomation_clipboard.c \ 96 $(srcdir)/testautomation_events.c \ 97 $(srcdir)/testautomation_keyboard.c \ 98 $(srcdir)/testautomation_main.c \ 99 $(srcdir)/testautomation_mouse.c \ 100 $(srcdir)/testautomation_pixels.c \ 101 $(srcdir)/testautomation_platform.c \ 102 $(srcdir)/testautomation_rect.c \ 103 $(srcdir)/testautomation_render.c \ 104 $(srcdir)/testautomation_rwops.c \ 105 $(srcdir)/testautomation_sdltest.c \ 106 $(srcdir)/testautomation_stdlib.c \ 107 $(srcdir)/testautomation_surface.c \ 108 $(srcdir)/testautomation_syswm.c \ 109 $(srcdir)/testautomation_timer.c \ 110 $(srcdir)/testautomation_video.c \ 111 $(srcdir)/testautomation_hints.c 112 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 113 114testmultiaudio$(EXE): $(srcdir)/testmultiaudio.c 115 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 116 117testaudiohotplug$(EXE): $(srcdir)/testaudiohotplug.c 118 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 119 120testaudiocapture$(EXE): $(srcdir)/testaudiocapture.c 121 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 122 123testatomic$(EXE): $(srcdir)/testatomic.c 124 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 125 126testintersections$(EXE): $(srcdir)/testintersections.c 127 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 128 129testrelative$(EXE): $(srcdir)/testrelative.c 130 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 131 132testhittesting$(EXE): $(srcdir)/testhittesting.c 133 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 134 135testdraw2$(EXE): $(srcdir)/testdraw2.c 136 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 137 138testdrawchessboard$(EXE): $(srcdir)/testdrawchessboard.c 139 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 140 141testdropfile$(EXE): $(srcdir)/testdropfile.c 142 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 143 144testerror$(EXE): $(srcdir)/testerror.c 145 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 146 147testfile$(EXE): $(srcdir)/testfile.c 148 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 149 150testgamecontroller$(EXE): $(srcdir)/testgamecontroller.c 151 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 152 153testgesture$(EXE): $(srcdir)/testgesture.c 154 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@ 155 156testgl2$(EXE): $(srcdir)/testgl2.c 157 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@ 158 159testgles$(EXE): $(srcdir)/testgles.c 160 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) @GLESLIB@ @MATHLIB@ 161 162testgles2$(EXE): $(srcdir)/testgles2.c 163 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@ 164 165testhaptic$(EXE): $(srcdir)/testhaptic.c 166 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 167 168testhotplug$(EXE): $(srcdir)/testhotplug.c 169 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 170 171testrumble$(EXE): $(srcdir)/testrumble.c 172 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 173 174testthread$(EXE): $(srcdir)/testthread.c 175 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 176 177testiconv$(EXE): $(srcdir)/testiconv.c 178 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 179 180testime$(EXE): $(srcdir)/testime.c 181 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) @SDL_TTF_LIB@ 182 183testjoystick$(EXE): $(srcdir)/testjoystick.c 184 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 185 186testkeys$(EXE): $(srcdir)/testkeys.c 187 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 188 189testloadso$(EXE): $(srcdir)/testloadso.c 190 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 191 192testlock$(EXE): $(srcdir)/testlock.c 193 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 194 195ifeq (@ISMACOSX@,true) 196testnative$(EXE): $(srcdir)/testnative.c \ 197 $(srcdir)/testnativecocoa.m \ 198 $(srcdir)/testnativex11.c 199 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) -framework Cocoa @XLIB@ 200endif 201 202ifeq (@ISWINDOWS@,true) 203testnative$(EXE): $(srcdir)/testnative.c \ 204 $(srcdir)/testnativew32.c 205 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 206endif 207 208ifeq (@ISUNIX@,true) 209testnative$(EXE): $(srcdir)/testnative.c \ 210 $(srcdir)/testnativex11.c 211 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) @XLIB@ 212endif 213 214#there's probably a better way of doing this 215ifeq (@ISMACOSX@,false) 216ifeq (@ISWINDOWS@,false) 217ifeq (@ISUNIX@,false) 218testnative$(EXE): ; 219endif 220endif 221endif 222 223testoverlay2$(EXE): $(srcdir)/testoverlay2.c $(srcdir)/testyuv_cvt.c 224 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 225 226testplatform$(EXE): $(srcdir)/testplatform.c 227 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 228 229testpower$(EXE): $(srcdir)/testpower.c 230 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 231 232testfilesystem$(EXE): $(srcdir)/testfilesystem.c 233 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 234 235testrendertarget$(EXE): $(srcdir)/testrendertarget.c 236 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 237 238testscale$(EXE): $(srcdir)/testscale.c 239 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 240 241testsem$(EXE): $(srcdir)/testsem.c 242 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 243 244testsensor$(EXE): $(srcdir)/testsensor.c 245 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 246 247testshader$(EXE): $(srcdir)/testshader.c 248 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@ 249 250testshape$(EXE): $(srcdir)/testshape.c 251 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 252 253testsprite2$(EXE): $(srcdir)/testsprite2.c 254 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 255 256testspriteminimal$(EXE): $(srcdir)/testspriteminimal.c 257 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@ 258 259teststreaming$(EXE): $(srcdir)/teststreaming.c 260 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@ 261 262testtimer$(EXE): $(srcdir)/testtimer.c 263 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 264 265testver$(EXE): $(srcdir)/testver.c 266 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 267 268testviewport$(EXE): $(srcdir)/testviewport.c 269 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 270 271testwm2$(EXE): $(srcdir)/testwm2.c 272 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 273 274testyuv$(EXE): $(srcdir)/testyuv.c $(srcdir)/testyuv_cvt.c 275 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 276 277torturethread$(EXE): $(srcdir)/torturethread.c 278 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 279 280testrendercopyex$(EXE): $(srcdir)/testrendercopyex.c 281 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@ 282 283testmessage$(EXE): $(srcdir)/testmessage.c 284 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 285 286testdisplayinfo$(EXE): $(srcdir)/testdisplayinfo.c 287 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 288 289testqsort$(EXE): $(srcdir)/testqsort.c 290 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 291 292testbounds$(EXE): $(srcdir)/testbounds.c 293 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 294 295testcustomcursor$(EXE): $(srcdir)/testcustomcursor.c 296 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 297 298controllermap$(EXE): $(srcdir)/controllermap.c 299 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 300 301testvulkan$(EXE): $(srcdir)/testvulkan.c 302 $(CC) -o $@ $^ $(CFLAGS) $(LIBS) 303 304 305clean: 306 rm -f $(TARGETS) 307 308distclean: clean 309 rm -f Makefile 310 rm -f config.status config.cache config.log 311 rm -rf $(srcdir)/autom4te* 312 313 314%.bmp: $(srcdir)/%.bmp 315 cp $< $@ 316 317%.wav: $(srcdir)/%.wav 318 cp $< $@ 319 320copydatafiles: copybmpfiles copywavfiles 321.PHONY : copydatafiles 322 323copybmpfiles: $(foreach bmp,$(wildcard $(srcdir)/*.bmp),$(notdir $(bmp))) 324.PHONY : copybmpfiles 325 326copywavfiles: $(foreach wav,$(wildcard $(srcdir)/*.wav),$(notdir $(wav))) 327.PHONY : copywavfiles 328 329
[FILE END]
(C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.