cscg22-gearboy

CSCG 2022 Challenge 'Gearboy'
git clone https://git.sinitax.com/sinitax/cscg22-gearboy
Log | Files | Refs | sfeed.txt

Makefile.in (6815B)


      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	loopwave$(EXE) \
     13	loopwavequeue$(EXE) \
     14	testatomic$(EXE) \
     15	testaudioinfo$(EXE) \
     16	testautomation$(EXE) \
     17	testdraw2$(EXE) \
     18	testdrawchessboard$(EXE) \
     19	testdropfile$(EXE) \
     20	testerror$(EXE) \
     21	testfile$(EXE) \
     22	testgamecontroller$(EXE) \
     23	testgesture$(EXE) \
     24	testgl2$(EXE) \
     25	testgles$(EXE) \
     26	testgles2$(EXE) \
     27	testhaptic$(EXE) \
     28	testhittesting$(EXE) \
     29	testrumble$(EXE) \
     30	testhotplug$(EXE) \
     31	testthread$(EXE) \
     32	testiconv$(EXE) \
     33	testime$(EXE) \
     34	testintersections$(EXE) \
     35	testrelative$(EXE) \
     36	testjoystick$(EXE) \
     37	testkeys$(EXE) \
     38	testloadso$(EXE) \
     39	testlock$(EXE) \
     40	testmultiaudio$(EXE) \
     41	testnative$(EXE) \
     42	testoverlay2$(EXE) \
     43	testplatform$(EXE) \
     44	testpower$(EXE) \
     45	testfilesystem$(EXE) \
     46	testrendertarget$(EXE) \
     47	testresample$(EXE) \
     48	testscale$(EXE) \
     49	testsem$(EXE) \
     50	testshader$(EXE) \
     51	testshape$(EXE) \
     52	testsprite2$(EXE) \
     53	testspriteminimal$(EXE) \
     54	teststreaming$(EXE) \
     55	testtimer$(EXE) \
     56	testver$(EXE) \
     57	testviewport$(EXE) \
     58	testwm2$(EXE) \
     59	torturethread$(EXE) \
     60	testrendercopyex$(EXE) \
     61	testmessage$(EXE) \
     62	controllermap$(EXE) \
     63	
     64all: Makefile $(TARGETS)
     65
     66Makefile: $(srcdir)/Makefile.in
     67	$(SHELL) config.status $@
     68
     69checkkeys$(EXE): $(srcdir)/checkkeys.c
     70	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
     71
     72loopwave$(EXE): $(srcdir)/loopwave.c
     73	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
     74
     75loopwavequeue$(EXE): $(srcdir)/loopwavequeue.c
     76	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
     77
     78testresample$(EXE): $(srcdir)/testresample.c
     79	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
     80
     81testaudioinfo$(EXE): $(srcdir)/testaudioinfo.c
     82	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
     83
     84testautomation$(EXE): $(srcdir)/testautomation.c \
     85		      $(srcdir)/testautomation_audio.c \
     86		      $(srcdir)/testautomation_clipboard.c \
     87		      $(srcdir)/testautomation_events.c \
     88		      $(srcdir)/testautomation_keyboard.c \
     89		      $(srcdir)/testautomation_main.c \
     90		      $(srcdir)/testautomation_mouse.c \
     91		      $(srcdir)/testautomation_pixels.c \
     92		      $(srcdir)/testautomation_platform.c \
     93		      $(srcdir)/testautomation_rect.c \
     94		      $(srcdir)/testautomation_render.c \
     95		      $(srcdir)/testautomation_rwops.c \
     96		      $(srcdir)/testautomation_sdltest.c \
     97		      $(srcdir)/testautomation_stdlib.c \
     98		      $(srcdir)/testautomation_surface.c \
     99		      $(srcdir)/testautomation_syswm.c \
    100		      $(srcdir)/testautomation_timer.c \
    101		      $(srcdir)/testautomation_video.c \
    102		      $(srcdir)/testautomation_hints.c
    103	$(CC) -o $@ $^ $(CFLAGS) $(LIBS) 
    104
    105testmultiaudio$(EXE): $(srcdir)/testmultiaudio.c
    106	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    107
    108testatomic$(EXE): $(srcdir)/testatomic.c
    109	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    110
    111testintersections$(EXE): $(srcdir)/testintersections.c
    112	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    113
    114testrelative$(EXE): $(srcdir)/testrelative.c
    115	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    116
    117testhittesting$(EXE): $(srcdir)/testhittesting.c
    118	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    119
    120testdraw2$(EXE): $(srcdir)/testdraw2.c
    121	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    122
    123testdrawchessboard$(EXE): $(srcdir)/testdrawchessboard.c
    124	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    125
    126testdropfile$(EXE): $(srcdir)/testdropfile.c
    127	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    128
    129testerror$(EXE): $(srcdir)/testerror.c
    130	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    131
    132testfile$(EXE): $(srcdir)/testfile.c
    133	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    134
    135testgamecontroller$(EXE): $(srcdir)/testgamecontroller.c
    136	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    137 
    138testgesture$(EXE): $(srcdir)/testgesture.c
    139	$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@
    140 
    141testgl2$(EXE): $(srcdir)/testgl2.c
    142	$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@
    143
    144testgles$(EXE): $(srcdir)/testgles.c
    145	$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @GLESLIB@ @MATHLIB@
    146
    147testgles2$(EXE): $(srcdir)/testgles2.c
    148	$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@
    149
    150testhaptic$(EXE): $(srcdir)/testhaptic.c
    151	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    152
    153testhotplug$(EXE): $(srcdir)/testhotplug.c
    154	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    155
    156testrumble$(EXE): $(srcdir)/testrumble.c
    157	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    158
    159testthread$(EXE): $(srcdir)/testthread.c
    160	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    161
    162testiconv$(EXE): $(srcdir)/testiconv.c
    163	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    164
    165testime$(EXE): $(srcdir)/testime.c
    166	$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @SDL_TTF_LIB@
    167
    168testjoystick$(EXE): $(srcdir)/testjoystick.c
    169	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    170
    171testkeys$(EXE): $(srcdir)/testkeys.c
    172	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    173
    174testloadso$(EXE): $(srcdir)/testloadso.c
    175	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    176
    177testlock$(EXE): $(srcdir)/testlock.c
    178	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    179
    180ifeq (@ISMACOSX@,true)
    181testnative$(EXE): $(srcdir)/testnative.c \
    182			$(srcdir)/testnativecocoa.m \
    183			$(srcdir)/testnativex11.c
    184	$(CC) -o $@ $^ $(CFLAGS) $(LIBS) -framework Cocoa @XLIB@
    185endif
    186
    187ifeq (@ISWINDOWS@,true)
    188testnative$(EXE): $(srcdir)/testnative.c \
    189			$(srcdir)/testnativew32.c
    190	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    191endif
    192
    193ifeq (@ISUNIX@,true)
    194testnative$(EXE): $(srcdir)/testnative.c \
    195			$(srcdir)/testnativex11.c
    196	$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @XLIB@
    197endif
    198
    199testoverlay2$(EXE): $(srcdir)/testoverlay2.c
    200	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    201
    202testplatform$(EXE): $(srcdir)/testplatform.c
    203	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    204
    205testpower$(EXE): $(srcdir)/testpower.c
    206	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    207
    208testfilesystem$(EXE): $(srcdir)/testfilesystem.c
    209	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    210
    211testrendertarget$(EXE): $(srcdir)/testrendertarget.c
    212	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    213
    214testscale$(EXE): $(srcdir)/testscale.c
    215	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    216
    217testsem$(EXE): $(srcdir)/testsem.c
    218	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    219
    220testshader$(EXE): $(srcdir)/testshader.c
    221	$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
    222
    223testshape$(EXE): $(srcdir)/testshape.c
    224	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    225
    226testsprite2$(EXE): $(srcdir)/testsprite2.c
    227	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    228
    229testspriteminimal$(EXE): $(srcdir)/testspriteminimal.c
    230	$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@
    231
    232teststreaming$(EXE): $(srcdir)/teststreaming.c
    233	$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@
    234
    235testtimer$(EXE): $(srcdir)/testtimer.c
    236	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    237
    238testver$(EXE): $(srcdir)/testver.c
    239	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    240
    241testviewport$(EXE): $(srcdir)/testviewport.c
    242	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    243
    244testwm2$(EXE): $(srcdir)/testwm2.c
    245	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    246
    247torturethread$(EXE): $(srcdir)/torturethread.c
    248	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    249
    250testrendercopyex$(EXE): $(srcdir)/testrendercopyex.c
    251	$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@
    252
    253testmessage$(EXE): $(srcdir)/testmessage.c
    254	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    255
    256controllermap$(EXE): $(srcdir)/controllermap.c
    257	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
    258
    259
    260clean:
    261	rm -f $(TARGETS)
    262
    263distclean: clean
    264	rm -f Makefile
    265	rm -f config.status config.cache config.log
    266	rm -rf $(srcdir)/autom4te*