author | Brandon Schaefer <brandon.schaefer@canonical.com> |
Wed, 13 Jul 2016 09:41:43 -0700 | |
changeset 10196 | 6c8f3b478b45 |
parent 10109 | 54209cfab627 |
child 10213 | 4b0893d63092 |
permissions | -rw-r--r-- |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
1 |
# Makefile to build the SDL tests |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
2 |
|
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
3 |
srcdir = @srcdir@ |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
4 |
|
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
5 |
CC = @CC@ |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
6 |
EXE = @EXE@ |
7807
73da2747c268
added simple Drag & drop test
Edward Rudd <urkle@outoforder.cc>
parents:
7794
diff
changeset
|
7 |
CFLAGS = @CFLAGS@ -g |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
8 |
LIBS = @LIBS@ |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
9 |
|
5232
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
10 |
TARGETS = \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
11 |
checkkeys$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
12 |
loopwave$(EXE) \ |
9012
aa058c87737b
Added audio device buffer queueing API.
Ryan C. Gordon <icculus@icculus.org>
parents:
8979
diff
changeset
|
13 |
loopwavequeue$(EXE) \ |
8979
1e283b7a1580
2620 solaris port missing atomics if not using gcc
Shawn Walker <binarycrusader@gmail.com>
parents:
8935
diff
changeset
|
14 |
testatomic$(EXE) \ |
6412
628702b5d490
Added testaudioinfo to the build.
Ryan C. Gordon <icculus@icculus.org>
parents:
6390
diff
changeset
|
15 |
testaudioinfo$(EXE) \ |
6769
b49778d885cd
Added the automation test to the autoconf build system
Sam Lantinga <slouken@libsdl.org>
parents:
6690
diff
changeset
|
16 |
testautomation$(EXE) \ |
10019
36f7e8084508
Added SDL_GetDisplayUsableBounds().
Ryan C. Gordon <icculus@icculus.org>
parents:
9800
diff
changeset
|
17 |
testbounds$(EXE) \ |
10196
6c8f3b478b45
Tests: Would be wise to compile this
Brandon Schaefer <brandon.schaefer@canonical.com>
parents:
10109
diff
changeset
|
18 |
testcustomcursor$(EXE) \ |
5232
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
19 |
testdraw2$(EXE) \ |
7529
3f571ec09593
Added example of using the software renderer and window surface API, contributed by Nitin Jain.
Sam Lantinga <slouken@libsdl.org>
parents:
7495
diff
changeset
|
20 |
testdrawchessboard$(EXE) \ |
7807
73da2747c268
added simple Drag & drop test
Edward Rudd <urkle@outoforder.cc>
parents:
7794
diff
changeset
|
21 |
testdropfile$(EXE) \ |
5232
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
22 |
testerror$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
23 |
testfile$(EXE) \ |
6690
9548c8a58103
Added hotplug joystick support and simplified game controller API, courtesy of Alfred Reynolds
Sam Lantinga <slouken@libsdl.org>
parents:
6614
diff
changeset
|
24 |
testgamecontroller$(EXE) \ |
5232
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
25 |
testgesture$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
26 |
testgl2$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
27 |
testgles$(EXE) \ |
8014 | 28 |
testgles2$(EXE) \ |
5232
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
29 |
testhaptic$(EXE) \ |
8935
9d2f0236322b
Changed drag area API to a hit-testing API.
Ryan C. Gordon <icculus@icculus.org>
parents:
8931
diff
changeset
|
30 |
testhittesting$(EXE) \ |
5508
60b63c32f06d
Don't be clever, just call it testthread
Sam Lantinga <slouken@libsdl.org>
parents:
5466
diff
changeset
|
31 |
testrumble$(EXE) \ |
8164
478fbe1f032f
add simple test showing off hotplugging of joysticks w/ haptic.
Edward Rudd <urkle@outoforder.cc>
parents:
8062
diff
changeset
|
32 |
testhotplug$(EXE) \ |
5508
60b63c32f06d
Don't be clever, just call it testthread
Sam Lantinga <slouken@libsdl.org>
parents:
5466
diff
changeset
|
33 |
testthread$(EXE) \ |
5232
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
34 |
testiconv$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
35 |
testime$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
36 |
testintersections$(EXE) \ |
6311
4e5e46f43438
Initial support for XInput2 by Dimitris Zenios
Sam Lantinga <slouken@libsdl.org>
parents:
6256
diff
changeset
|
37 |
testrelative$(EXE) \ |
5232
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
38 |
testjoystick$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
39 |
testkeys$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
40 |
testloadso$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
41 |
testlock$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
42 |
testmultiaudio$(EXE) \ |
9393
ed79a66e57e5
Initial work on audio device hotplug support.
Ryan C. Gordon <icculus@icculus.org>
parents:
9296
diff
changeset
|
43 |
testaudiohotplug$(EXE) \ |
6175
42c40787f382
Added testnative to the Makefile and fixed building on Mac OS X
Sam Lantinga <slouken@libsdl.org>
parents:
5508
diff
changeset
|
44 |
testnative$(EXE) \ |
5232
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
45 |
testoverlay2$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
46 |
testplatform$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
47 |
testpower$(EXE) \ |
7667
be1cc6f55840
Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module.
Ryan C. Gordon <icculus@icculus.org>
parents:
7529
diff
changeset
|
48 |
testfilesystem$(EXE) \ |
6232
37e8d0736366
Implementation of render targets, by Mason Wheeler and Gabriel Jacobo
Sam Lantinga <slouken@libsdl.org>
parents:
6175
diff
changeset
|
49 |
testrendertarget$(EXE) \ |
5232
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
50 |
testresample$(EXE) \ |
5240
a9eb73f21e3a
Added a scaling test program
Sam Lantinga <slouken@libsdl.org>
parents:
5232
diff
changeset
|
51 |
testscale$(EXE) \ |
5232
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
52 |
testsem$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
53 |
testshader$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
54 |
testshape$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
55 |
testsprite2$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
56 |
testspriteminimal$(EXE) \ |
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
57 |
teststreaming$(EXE) \ |
5232
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
58 |
testtimer$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
59 |
testver$(EXE) \ |
7994
37c48b4ecb0c
Added viewport test, contributed by Andreas Schiffler and improved by me and Ryan Gordon.
Sam Lantinga <slouken@libsdl.org>
parents:
7807
diff
changeset
|
60 |
testviewport$(EXE) \ |
5232
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
61 |
testwm2$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
62 |
torturethread$(EXE) \ |
6320
6077a1310907
RenderCopyEx,rotation and flipping for all hardware/software backends (#1308)
Gabriel Jacobo <gabomdq@gmail.com>
parents:
6318
diff
changeset
|
63 |
testrendercopyex$(EXE) \ |
6614 | 64 |
testmessage$(EXE) \ |
9800
978b538d177e
Added test/testdisplayinfo.c
Ryan C. Gordon <icculus@icculus.org>
parents:
9393
diff
changeset
|
65 |
testdisplayinfo$(EXE) \ |
10109
54209cfab627
A simple test program for SDL_qsort().
Ryan C. Gordon <icculus@icculus.org>
parents:
10019
diff
changeset
|
66 |
testqsort$(EXE) \ |
8043
74fcbf6987ba
Adds controllermap utility to test suite.
Gabriel Jacobo <gabomdq@gmail.com>
parents:
8014
diff
changeset
|
67 |
controllermap$(EXE) \ |
74fcbf6987ba
Adds controllermap utility to test suite.
Gabriel Jacobo <gabomdq@gmail.com>
parents:
8014
diff
changeset
|
68 |
|
1914
051df511279c
Added a test program framework for easy initialization.
Sam Lantinga <slouken@libsdl.org>
parents:
1895
diff
changeset
|
69 |
all: Makefile $(TARGETS) |
051df511279c
Added a test program framework for easy initialization.
Sam Lantinga <slouken@libsdl.org>
parents:
1895
diff
changeset
|
70 |
|
051df511279c
Added a test program framework for easy initialization.
Sam Lantinga <slouken@libsdl.org>
parents:
1895
diff
changeset
|
71 |
Makefile: $(srcdir)/Makefile.in |
051df511279c
Added a test program framework for easy initialization.
Sam Lantinga <slouken@libsdl.org>
parents:
1895
diff
changeset
|
72 |
$(SHELL) config.status $@ |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
73 |
|
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
74 |
checkkeys$(EXE): $(srcdir)/checkkeys.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
75 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
76 |
|
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
77 |
loopwave$(EXE): $(srcdir)/loopwave.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
78 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
79 |
|
9012
aa058c87737b
Added audio device buffer queueing API.
Ryan C. Gordon <icculus@icculus.org>
parents:
8979
diff
changeset
|
80 |
loopwavequeue$(EXE): $(srcdir)/loopwavequeue.c |
aa058c87737b
Added audio device buffer queueing API.
Ryan C. Gordon <icculus@icculus.org>
parents:
8979
diff
changeset
|
81 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
aa058c87737b
Added audio device buffer queueing API.
Ryan C. Gordon <icculus@icculus.org>
parents:
8979
diff
changeset
|
82 |
|
3017 | 83 |
testresample$(EXE): $(srcdir)/testresample.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
84 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
3017 | 85 |
|
2049
5f6550e5184f
Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
Ryan C. Gordon <icculus@icculus.org>
parents:
1933
diff
changeset
|
86 |
testaudioinfo$(EXE): $(srcdir)/testaudioinfo.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
87 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
2049
5f6550e5184f
Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
Ryan C. Gordon <icculus@icculus.org>
parents:
1933
diff
changeset
|
88 |
|
6769
b49778d885cd
Added the automation test to the autoconf build system
Sam Lantinga <slouken@libsdl.org>
parents:
6690
diff
changeset
|
89 |
testautomation$(EXE): $(srcdir)/testautomation.c \ |
7216
3586fc0ba156
Added the beginning of automated tests for the standard C library routines.
Sam Lantinga <slouken@libsdl.org>
parents:
7134
diff
changeset
|
90 |
$(srcdir)/testautomation_audio.c \ |
6769
b49778d885cd
Added the automation test to the autoconf build system
Sam Lantinga <slouken@libsdl.org>
parents:
6690
diff
changeset
|
91 |
$(srcdir)/testautomation_clipboard.c \ |
7216
3586fc0ba156
Added the beginning of automated tests for the standard C library routines.
Sam Lantinga <slouken@libsdl.org>
parents:
7134
diff
changeset
|
92 |
$(srcdir)/testautomation_events.c \ |
3586fc0ba156
Added the beginning of automated tests for the standard C library routines.
Sam Lantinga <slouken@libsdl.org>
parents:
7134
diff
changeset
|
93 |
$(srcdir)/testautomation_keyboard.c \ |
6866
e74a4b282450
Don't clobber refcounting in SDL_Init.
Jørgen P. Tjernø <jorgen@valvesoftware.com>
parents:
6839
diff
changeset
|
94 |
$(srcdir)/testautomation_main.c \ |
7216
3586fc0ba156
Added the beginning of automated tests for the standard C library routines.
Sam Lantinga <slouken@libsdl.org>
parents:
7134
diff
changeset
|
95 |
$(srcdir)/testautomation_mouse.c \ |
3586fc0ba156
Added the beginning of automated tests for the standard C library routines.
Sam Lantinga <slouken@libsdl.org>
parents:
7134
diff
changeset
|
96 |
$(srcdir)/testautomation_pixels.c \ |
6769
b49778d885cd
Added the automation test to the autoconf build system
Sam Lantinga <slouken@libsdl.org>
parents:
6690
diff
changeset
|
97 |
$(srcdir)/testautomation_platform.c \ |
b49778d885cd
Added the automation test to the autoconf build system
Sam Lantinga <slouken@libsdl.org>
parents:
6690
diff
changeset
|
98 |
$(srcdir)/testautomation_rect.c \ |
b49778d885cd
Added the automation test to the autoconf build system
Sam Lantinga <slouken@libsdl.org>
parents:
6690
diff
changeset
|
99 |
$(srcdir)/testautomation_render.c \ |
6772
5229a117ef97
Added audio test suite; minor code cleanups in test lib
Andreas Schiffler <aschiffler@ferzkopp.net>
parents:
6770
diff
changeset
|
100 |
$(srcdir)/testautomation_rwops.c \ |
7216
3586fc0ba156
Added the beginning of automated tests for the standard C library routines.
Sam Lantinga <slouken@libsdl.org>
parents:
7134
diff
changeset
|
101 |
$(srcdir)/testautomation_sdltest.c \ |
3586fc0ba156
Added the beginning of automated tests for the standard C library routines.
Sam Lantinga <slouken@libsdl.org>
parents:
7134
diff
changeset
|
102 |
$(srcdir)/testautomation_stdlib.c \ |
6800
26c6795ec1a4
Add new test suites (events, keyboard, syswm, video) with a few new tests each
Andreas Schiffler <aschiffler@ferzkopp.net>
parents:
6785
diff
changeset
|
103 |
$(srcdir)/testautomation_surface.c \ |
6801
f92e3d5f71a2
Add new test suite (mouse) with a few new tests
Andreas Schiffler <aschiffler@ferzkopp.net>
parents:
6800
diff
changeset
|
104 |
$(srcdir)/testautomation_syswm.c \ |
7134
09ee216e6a25
Add pixels test suite; add a test to pixel suite; minor updates to test code to make VisualStudio happy
Andreas Schiffler <aschiffler@ferzkopp.net>
parents:
6866
diff
changeset
|
105 |
$(srcdir)/testautomation_timer.c \ |
8645
d69fdbefeecf
Add input validation to SDL_getenv/SDL_setenv; update Stdlib testsuite; add Hints testsuite
Andreas Schiffler <aschiffler@ferzkopp.net>
parents:
8164
diff
changeset
|
106 |
$(srcdir)/testautomation_video.c \ |
d69fdbefeecf
Add input validation to SDL_getenv/SDL_setenv; update Stdlib testsuite; add Hints testsuite
Andreas Schiffler <aschiffler@ferzkopp.net>
parents:
8164
diff
changeset
|
107 |
$(srcdir)/testautomation_hints.c |
7280
d1681bbd274a
We already link SDL2_test by default now.
Sam Lantinga <slouken@libsdl.org>
parents:
7257
diff
changeset
|
108 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
6769
b49778d885cd
Added the automation test to the autoconf build system
Sam Lantinga <slouken@libsdl.org>
parents:
6690
diff
changeset
|
109 |
|
2049
5f6550e5184f
Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
Ryan C. Gordon <icculus@icculus.org>
parents:
1933
diff
changeset
|
110 |
testmultiaudio$(EXE): $(srcdir)/testmultiaudio.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
111 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
2049
5f6550e5184f
Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
Ryan C. Gordon <icculus@icculus.org>
parents:
1933
diff
changeset
|
112 |
|
9393
ed79a66e57e5
Initial work on audio device hotplug support.
Ryan C. Gordon <icculus@icculus.org>
parents:
9296
diff
changeset
|
113 |
testaudiohotplug$(EXE): $(srcdir)/testaudiohotplug.c |
ed79a66e57e5
Initial work on audio device hotplug support.
Ryan C. Gordon <icculus@icculus.org>
parents:
9296
diff
changeset
|
114 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
ed79a66e57e5
Initial work on audio device hotplug support.
Ryan C. Gordon <icculus@icculus.org>
parents:
9296
diff
changeset
|
115 |
|
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
116 |
testatomic$(EXE): $(srcdir)/testatomic.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
117 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
118 |
|
6785
c094c438c0a6
Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents:
6773
diff
changeset
|
119 |
testintersections$(EXE): $(srcdir)/testintersections.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
120 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
2994
7563b99e9a49
Date: Sat, 3 Jan 2009 22:11:18 -0500
Sam Lantinga <slouken@libsdl.org>
parents:
2914
diff
changeset
|
121 |
|
6785
c094c438c0a6
Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents:
6773
diff
changeset
|
122 |
testrelative$(EXE): $(srcdir)/testrelative.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
123 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
6311
4e5e46f43438
Initial support for XInput2 by Dimitris Zenios
Sam Lantinga <slouken@libsdl.org>
parents:
6256
diff
changeset
|
124 |
|
8935
9d2f0236322b
Changed drag area API to a hit-testing API.
Ryan C. Gordon <icculus@icculus.org>
parents:
8931
diff
changeset
|
125 |
testhittesting$(EXE): $(srcdir)/testhittesting.c |
8931
44d8a2f4b431
First shot at SDL_SetWindowDragAreas().
Ryan C. Gordon <icculus@icculus.org>
parents:
8645
diff
changeset
|
126 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
44d8a2f4b431
First shot at SDL_SetWindowDragAreas().
Ryan C. Gordon <icculus@icculus.org>
parents:
8645
diff
changeset
|
127 |
|
6785
c094c438c0a6
Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents:
6773
diff
changeset
|
128 |
testdraw2$(EXE): $(srcdir)/testdraw2.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
129 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
2914
fa109e90be36
Correct the test program
Sam Lantinga <slouken@libsdl.org>
parents:
2897
diff
changeset
|
130 |
|
7529
3f571ec09593
Added example of using the software renderer and window surface API, contributed by Nitin Jain.
Sam Lantinga <slouken@libsdl.org>
parents:
7495
diff
changeset
|
131 |
testdrawchessboard$(EXE): $(srcdir)/testdrawchessboard.c |
3f571ec09593
Added example of using the software renderer and window surface API, contributed by Nitin Jain.
Sam Lantinga <slouken@libsdl.org>
parents:
7495
diff
changeset
|
132 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
3f571ec09593
Added example of using the software renderer and window surface API, contributed by Nitin Jain.
Sam Lantinga <slouken@libsdl.org>
parents:
7495
diff
changeset
|
133 |
|
7807
73da2747c268
added simple Drag & drop test
Edward Rudd <urkle@outoforder.cc>
parents:
7794
diff
changeset
|
134 |
testdropfile$(EXE): $(srcdir)/testdropfile.c |
73da2747c268
added simple Drag & drop test
Edward Rudd <urkle@outoforder.cc>
parents:
7794
diff
changeset
|
135 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
73da2747c268
added simple Drag & drop test
Edward Rudd <urkle@outoforder.cc>
parents:
7794
diff
changeset
|
136 |
|
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
137 |
testerror$(EXE): $(srcdir)/testerror.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
138 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
139 |
|
1453
2eb75f8a32ca
Date: Mon, 27 Feb 2006 17:01:43 +0100
Sam Lantinga <slouken@libsdl.org>
parents:
1421
diff
changeset
|
140 |
testfile$(EXE): $(srcdir)/testfile.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
141 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
1453
2eb75f8a32ca
Date: Mon, 27 Feb 2006 17:01:43 +0100
Sam Lantinga <slouken@libsdl.org>
parents:
1421
diff
changeset
|
142 |
|
6690
9548c8a58103
Added hotplug joystick support and simplified game controller API, courtesy of Alfred Reynolds
Sam Lantinga <slouken@libsdl.org>
parents:
6614
diff
changeset
|
143 |
testgamecontroller$(EXE): $(srcdir)/testgamecontroller.c |
9548c8a58103
Added hotplug joystick support and simplified game controller API, courtesy of Alfred Reynolds
Sam Lantinga <slouken@libsdl.org>
parents:
6614
diff
changeset
|
144 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
9548c8a58103
Added hotplug joystick support and simplified game controller API, courtesy of Alfred Reynolds
Sam Lantinga <slouken@libsdl.org>
parents:
6614
diff
changeset
|
145 |
|
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
146 |
testgesture$(EXE): $(srcdir)/testgesture.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
147 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@ |
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
148 |
|
6785
c094c438c0a6
Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents:
6773
diff
changeset
|
149 |
testgl2$(EXE): $(srcdir)/testgl2.c |
8062 | 150 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@ |
1914
051df511279c
Added a test program framework for easy initialization.
Sam Lantinga <slouken@libsdl.org>
parents:
1895
diff
changeset
|
151 |
|
6785
c094c438c0a6
Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents:
6773
diff
changeset
|
152 |
testgles$(EXE): $(srcdir)/testgles.c |
7794
7995e0920bf9
Fixes testgles and testgl
Gabriel Jacobo <gabomdq@gmail.com>
parents:
7667
diff
changeset
|
153 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @GLESLIB@ @MATHLIB@ |
3087
0b6f51c29267
Date: Wed, 4 Mar 2009 15:38:22 +0200
Sam Lantinga <slouken@libsdl.org>
parents:
3017
diff
changeset
|
154 |
|
8014 | 155 |
testgles2$(EXE): $(srcdir)/testgles2.c |
8062 | 156 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@ |
8014 | 157 |
|
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
158 |
testhaptic$(EXE): $(srcdir)/testhaptic.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
159 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
160 |
|
8164
478fbe1f032f
add simple test showing off hotplugging of joysticks w/ haptic.
Edward Rudd <urkle@outoforder.cc>
parents:
8062
diff
changeset
|
161 |
testhotplug$(EXE): $(srcdir)/testhotplug.c |
478fbe1f032f
add simple test showing off hotplugging of joysticks w/ haptic.
Edward Rudd <urkle@outoforder.cc>
parents:
8062
diff
changeset
|
162 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
478fbe1f032f
add simple test showing off hotplugging of joysticks w/ haptic.
Edward Rudd <urkle@outoforder.cc>
parents:
8062
diff
changeset
|
163 |
|
5360
220d3af9121f
Simple rumble API for haptic
Sam Lantinga <slouken@libsdl.org>
parents:
5254
diff
changeset
|
164 |
testrumble$(EXE): $(srcdir)/testrumble.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
165 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
5360
220d3af9121f
Simple rumble API for haptic
Sam Lantinga <slouken@libsdl.org>
parents:
5254
diff
changeset
|
166 |
|
5508
60b63c32f06d
Don't be clever, just call it testthread
Sam Lantinga <slouken@libsdl.org>
parents:
5466
diff
changeset
|
167 |
testthread$(EXE): $(srcdir)/testthread.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
168 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
169 |
|
1501
73dc5d39bbf8
Added UTF-8 <-> UTF-16 <-> UTF-32 <-> UCS-2 <-> UCS-4 conversion capability
Sam Lantinga <slouken@libsdl.org>
parents:
1453
diff
changeset
|
170 |
testiconv$(EXE): $(srcdir)/testiconv.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
171 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
1501
73dc5d39bbf8
Added UTF-8 <-> UTF-16 <-> UTF-32 <-> UCS-2 <-> UCS-4 conversion capability
Sam Lantinga <slouken@libsdl.org>
parents:
1453
diff
changeset
|
172 |
|
6785
c094c438c0a6
Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents:
6773
diff
changeset
|
173 |
testime$(EXE): $(srcdir)/testime.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
174 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @SDL_TTF_LIB@ |
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
175 |
|
6785
c094c438c0a6
Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents:
6773
diff
changeset
|
176 |
testjoystick$(EXE): $(srcdir)/testjoystick.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
177 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
178 |
|
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
179 |
testkeys$(EXE): $(srcdir)/testkeys.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
180 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
181 |
|
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
182 |
testloadso$(EXE): $(srcdir)/testloadso.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
183 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
184 |
|
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
185 |
testlock$(EXE): $(srcdir)/testlock.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
186 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
187 |
|
6390
3047baa4a5e0
Nasty attempt to fix building of testnative across various platforms.
Ryan C. Gordon <icculus@icculus.org>
parents:
6320
diff
changeset
|
188 |
ifeq (@ISMACOSX@,true) |
6175
42c40787f382
Added testnative to the Makefile and fixed building on Mac OS X
Sam Lantinga <slouken@libsdl.org>
parents:
5508
diff
changeset
|
189 |
testnative$(EXE): $(srcdir)/testnative.c \ |
7495
c4ba5e5c2765
Fixed bug 1973 - test/Makefile.in fails on Mac OS X with X11 enabled...
Sam Lantinga <slouken@libsdl.org>
parents:
7280
diff
changeset
|
190 |
$(srcdir)/testnativecocoa.m \ |
c4ba5e5c2765
Fixed bug 1973 - test/Makefile.in fails on Mac OS X with X11 enabled...
Sam Lantinga <slouken@libsdl.org>
parents:
7280
diff
changeset
|
191 |
$(srcdir)/testnativex11.c |
c4ba5e5c2765
Fixed bug 1973 - test/Makefile.in fails on Mac OS X with X11 enabled...
Sam Lantinga <slouken@libsdl.org>
parents:
7280
diff
changeset
|
192 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) -framework Cocoa @XLIB@ |
6390
3047baa4a5e0
Nasty attempt to fix building of testnative across various platforms.
Ryan C. Gordon <icculus@icculus.org>
parents:
6320
diff
changeset
|
193 |
endif |
3047baa4a5e0
Nasty attempt to fix building of testnative across various platforms.
Ryan C. Gordon <icculus@icculus.org>
parents:
6320
diff
changeset
|
194 |
|
3047baa4a5e0
Nasty attempt to fix building of testnative across various platforms.
Ryan C. Gordon <icculus@icculus.org>
parents:
6320
diff
changeset
|
195 |
ifeq (@ISWINDOWS@,true) |
3047baa4a5e0
Nasty attempt to fix building of testnative across various platforms.
Ryan C. Gordon <icculus@icculus.org>
parents:
6320
diff
changeset
|
196 |
testnative$(EXE): $(srcdir)/testnative.c \ |
3047baa4a5e0
Nasty attempt to fix building of testnative across various platforms.
Ryan C. Gordon <icculus@icculus.org>
parents:
6320
diff
changeset
|
197 |
$(srcdir)/testnativew32.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
198 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
6390
3047baa4a5e0
Nasty attempt to fix building of testnative across various platforms.
Ryan C. Gordon <icculus@icculus.org>
parents:
6320
diff
changeset
|
199 |
endif |
3047baa4a5e0
Nasty attempt to fix building of testnative across various platforms.
Ryan C. Gordon <icculus@icculus.org>
parents:
6320
diff
changeset
|
200 |
|
3047baa4a5e0
Nasty attempt to fix building of testnative across various platforms.
Ryan C. Gordon <icculus@icculus.org>
parents:
6320
diff
changeset
|
201 |
ifeq (@ISUNIX@,true) |
3047baa4a5e0
Nasty attempt to fix building of testnative across various platforms.
Ryan C. Gordon <icculus@icculus.org>
parents:
6320
diff
changeset
|
202 |
testnative$(EXE): $(srcdir)/testnative.c \ |
3047baa4a5e0
Nasty attempt to fix building of testnative across various platforms.
Ryan C. Gordon <icculus@icculus.org>
parents:
6320
diff
changeset
|
203 |
$(srcdir)/testnativex11.c |
7495
c4ba5e5c2765
Fixed bug 1973 - test/Makefile.in fails on Mac OS X with X11 enabled...
Sam Lantinga <slouken@libsdl.org>
parents:
7280
diff
changeset
|
204 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @XLIB@ |
6390
3047baa4a5e0
Nasty attempt to fix building of testnative across various platforms.
Ryan C. Gordon <icculus@icculus.org>
parents:
6320
diff
changeset
|
205 |
endif |
6175
42c40787f382
Added testnative to the Makefile and fixed building on Mac OS X
Sam Lantinga <slouken@libsdl.org>
parents:
5508
diff
changeset
|
206 |
|
9278
8900afb78a19
Initial merge of Emscripten port!
Ryan C. Gordon <icculus@icculus.org>
parents:
9012
diff
changeset
|
207 |
#there's probably a better way of doing this |
8900afb78a19
Initial merge of Emscripten port!
Ryan C. Gordon <icculus@icculus.org>
parents:
9012
diff
changeset
|
208 |
ifeq (@ISMACOSX@,false) |
8900afb78a19
Initial merge of Emscripten port!
Ryan C. Gordon <icculus@icculus.org>
parents:
9012
diff
changeset
|
209 |
ifeq (@ISWINDOWS@,false) |
8900afb78a19
Initial merge of Emscripten port!
Ryan C. Gordon <icculus@icculus.org>
parents:
9012
diff
changeset
|
210 |
ifeq (@ISUNIX@,false) |
8900afb78a19
Initial merge of Emscripten port!
Ryan C. Gordon <icculus@icculus.org>
parents:
9012
diff
changeset
|
211 |
testnative$(EXE): ; |
8900afb78a19
Initial merge of Emscripten port!
Ryan C. Gordon <icculus@icculus.org>
parents:
9012
diff
changeset
|
212 |
endif |
8900afb78a19
Initial merge of Emscripten port!
Ryan C. Gordon <icculus@icculus.org>
parents:
9012
diff
changeset
|
213 |
endif |
8900afb78a19
Initial merge of Emscripten port!
Ryan C. Gordon <icculus@icculus.org>
parents:
9012
diff
changeset
|
214 |
endif |
8900afb78a19
Initial merge of Emscripten port!
Ryan C. Gordon <icculus@icculus.org>
parents:
9012
diff
changeset
|
215 |
|
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
216 |
testoverlay2$(EXE): $(srcdir)/testoverlay2.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
217 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
218 |
|
1421
638da75f9ab8
testplatform replaces testtypes, testendian, and testcpuinfo
Sam Lantinga <slouken@libsdl.org>
parents:
1380
diff
changeset
|
219 |
testplatform$(EXE): $(srcdir)/testplatform.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
220 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
1421
638da75f9ab8
testplatform replaces testtypes, testendian, and testcpuinfo
Sam Lantinga <slouken@libsdl.org>
parents:
1380
diff
changeset
|
221 |
|
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
222 |
testpower$(EXE): $(srcdir)/testpower.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
223 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
224 |
|
7667
be1cc6f55840
Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module.
Ryan C. Gordon <icculus@icculus.org>
parents:
7529
diff
changeset
|
225 |
testfilesystem$(EXE): $(srcdir)/testfilesystem.c |
be1cc6f55840
Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module.
Ryan C. Gordon <icculus@icculus.org>
parents:
7529
diff
changeset
|
226 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
be1cc6f55840
Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module.
Ryan C. Gordon <icculus@icculus.org>
parents:
7529
diff
changeset
|
227 |
|
6785
c094c438c0a6
Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents:
6773
diff
changeset
|
228 |
testrendertarget$(EXE): $(srcdir)/testrendertarget.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
229 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
6232
37e8d0736366
Implementation of render targets, by Mason Wheeler and Gabriel Jacobo
Sam Lantinga <slouken@libsdl.org>
parents:
6175
diff
changeset
|
230 |
|
6785
c094c438c0a6
Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents:
6773
diff
changeset
|
231 |
testscale$(EXE): $(srcdir)/testscale.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
232 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
5240
a9eb73f21e3a
Added a scaling test program
Sam Lantinga <slouken@libsdl.org>
parents:
5232
diff
changeset
|
233 |
|
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
234 |
testsem$(EXE): $(srcdir)/testsem.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
235 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
236 |
|
5232
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
237 |
testshader$(EXE): $(srcdir)/testshader.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
238 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@ |
5232
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
239 |
|
4799
a0e096916474
Rewrote test program for shaped windows. It definitely displays recognizable pictures now, but the resizing and shaping functionality isn't behaving correctly, possibly due to a miscalculation of alpha values.
Eli Gottlieb <eligottlieb@gmail.com>
parents:
4770
diff
changeset
|
240 |
testshape$(EXE): $(srcdir)/testshape.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
241 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
4799
a0e096916474
Rewrote test program for shaped windows. It definitely displays recognizable pictures now, but the resizing and shaping functionality isn't behaving correctly, possibly due to a miscalculation of alpha values.
Eli Gottlieb <eligottlieb@gmail.com>
parents:
4770
diff
changeset
|
242 |
|
6785
c094c438c0a6
Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents:
6773
diff
changeset
|
243 |
testsprite2$(EXE): $(srcdir)/testsprite2.c |
c094c438c0a6
Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents:
6773
diff
changeset
|
244 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
1895
c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents:
1858
diff
changeset
|
245 |
|
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
246 |
testspriteminimal$(EXE): $(srcdir)/testspriteminimal.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
247 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@ |
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
248 |
|
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
249 |
teststreaming$(EXE): $(srcdir)/teststreaming.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
250 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@ |
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
251 |
|
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
252 |
testtimer$(EXE): $(srcdir)/testtimer.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
253 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
254 |
|
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
255 |
testver$(EXE): $(srcdir)/testver.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
256 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
257 |
|
7994
37c48b4ecb0c
Added viewport test, contributed by Andreas Schiffler and improved by me and Ryan Gordon.
Sam Lantinga <slouken@libsdl.org>
parents:
7807
diff
changeset
|
258 |
testviewport$(EXE): $(srcdir)/testviewport.c |
37c48b4ecb0c
Added viewport test, contributed by Andreas Schiffler and improved by me and Ryan Gordon.
Sam Lantinga <slouken@libsdl.org>
parents:
7807
diff
changeset
|
259 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
37c48b4ecb0c
Added viewport test, contributed by Andreas Schiffler and improved by me and Ryan Gordon.
Sam Lantinga <slouken@libsdl.org>
parents:
7807
diff
changeset
|
260 |
|
6785
c094c438c0a6
Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents:
6773
diff
changeset
|
261 |
testwm2$(EXE): $(srcdir)/testwm2.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
262 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
1895
c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents:
1858
diff
changeset
|
263 |
|
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
264 |
torturethread$(EXE): $(srcdir)/torturethread.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
265 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
266 |
|
6785
c094c438c0a6
Switched the test code over to use the common functions in the test library.
Sam Lantinga <slouken@libsdl.org>
parents:
6773
diff
changeset
|
267 |
testrendercopyex$(EXE): $(srcdir)/testrendercopyex.c |
6601
0d0946905eb2
Fixed building testjoystick
Sam Lantinga <slouken@libsdl.org>
parents:
6586
diff
changeset
|
268 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) @MATHLIB@ |
6614 | 269 |
|
270 |
testmessage$(EXE): $(srcdir)/testmessage.c |
|
271 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
|
272 |
||
9800
978b538d177e
Added test/testdisplayinfo.c
Ryan C. Gordon <icculus@icculus.org>
parents:
9393
diff
changeset
|
273 |
testdisplayinfo$(EXE): $(srcdir)/testdisplayinfo.c |
978b538d177e
Added test/testdisplayinfo.c
Ryan C. Gordon <icculus@icculus.org>
parents:
9393
diff
changeset
|
274 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
978b538d177e
Added test/testdisplayinfo.c
Ryan C. Gordon <icculus@icculus.org>
parents:
9393
diff
changeset
|
275 |
|
10109
54209cfab627
A simple test program for SDL_qsort().
Ryan C. Gordon <icculus@icculus.org>
parents:
10019
diff
changeset
|
276 |
testqsort$(EXE): $(srcdir)/testqsort.c |
54209cfab627
A simple test program for SDL_qsort().
Ryan C. Gordon <icculus@icculus.org>
parents:
10019
diff
changeset
|
277 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
54209cfab627
A simple test program for SDL_qsort().
Ryan C. Gordon <icculus@icculus.org>
parents:
10019
diff
changeset
|
278 |
|
10019
36f7e8084508
Added SDL_GetDisplayUsableBounds().
Ryan C. Gordon <icculus@icculus.org>
parents:
9800
diff
changeset
|
279 |
testbounds$(EXE): $(srcdir)/testbounds.c |
36f7e8084508
Added SDL_GetDisplayUsableBounds().
Ryan C. Gordon <icculus@icculus.org>
parents:
9800
diff
changeset
|
280 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
36f7e8084508
Added SDL_GetDisplayUsableBounds().
Ryan C. Gordon <icculus@icculus.org>
parents:
9800
diff
changeset
|
281 |
|
10196
6c8f3b478b45
Tests: Would be wise to compile this
Brandon Schaefer <brandon.schaefer@canonical.com>
parents:
10109
diff
changeset
|
282 |
testcustomcursor$(EXE): $(srcdir)/testcustomcursor.c |
6c8f3b478b45
Tests: Would be wise to compile this
Brandon Schaefer <brandon.schaefer@canonical.com>
parents:
10109
diff
changeset
|
283 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
6c8f3b478b45
Tests: Would be wise to compile this
Brandon Schaefer <brandon.schaefer@canonical.com>
parents:
10109
diff
changeset
|
284 |
|
8043
74fcbf6987ba
Adds controllermap utility to test suite.
Gabriel Jacobo <gabomdq@gmail.com>
parents:
8014
diff
changeset
|
285 |
controllermap$(EXE): $(srcdir)/controllermap.c |
74fcbf6987ba
Adds controllermap utility to test suite.
Gabriel Jacobo <gabomdq@gmail.com>
parents:
8014
diff
changeset
|
286 |
$(CC) -o $@ $^ $(CFLAGS) $(LIBS) |
74fcbf6987ba
Adds controllermap utility to test suite.
Gabriel Jacobo <gabomdq@gmail.com>
parents:
8014
diff
changeset
|
287 |
|
74fcbf6987ba
Adds controllermap utility to test suite.
Gabriel Jacobo <gabomdq@gmail.com>
parents:
8014
diff
changeset
|
288 |
|
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
289 |
clean: |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
290 |
rm -f $(TARGETS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
291 |
|
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
292 |
distclean: clean |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
293 |
rm -f Makefile |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
294 |
rm -f config.status config.cache config.log |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
295 |
rm -rf $(srcdir)/autom4te* |