author | Sam Lantinga <slouken@libsdl.org> |
Fri, 25 Mar 2011 11:09:57 -0700 | |
changeset 5508 | 60b63c32f06d |
parent 5466 | 006883d5fa51 |
child 6175 | 42c40787f382 |
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@ |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
7 |
CFLAGS = @CFLAGS@ |
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 |
graywin$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
13 |
loopwave$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
14 |
testalpha$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
15 |
testatomic$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
16 |
testaudioinfo$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
17 |
testbitmap$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
18 |
testblitspeed$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
19 |
testcursor$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
20 |
testdraw2$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
21 |
testdyngl$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
22 |
testdyngles$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
23 |
testerror$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
24 |
testfile$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
25 |
testfill$(EXE) \ |
5466 | 26 |
testgamma$(EXE) \ |
5232
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
27 |
testgesture$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
28 |
testgl$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
29 |
testgl2$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
30 |
testgles$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
31 |
testhaptic$(EXE) \ |
5508
60b63c32f06d
Don't be clever, just call it testthread
Sam Lantinga <slouken@libsdl.org>
parents:
5466
diff
changeset
|
32 |
testrumble$(EXE) \ |
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) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
37 |
testjoystick$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
38 |
testkeys$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
39 |
testloadso$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
40 |
testlock$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
41 |
testmultiaudio$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
42 |
testoverlay$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
43 |
testoverlay2$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
44 |
testplatform$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
45 |
testpower$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
46 |
testresample$(EXE) \ |
5240
a9eb73f21e3a
Added a scaling test program
Sam Lantinga <slouken@libsdl.org>
parents:
5232
diff
changeset
|
47 |
testscale$(EXE) \ |
5232
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
48 |
testsem$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
49 |
testshader$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
50 |
testshape$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
51 |
testsprite$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
52 |
testsprite2$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
53 |
testspriteminimal$(EXE) \ |
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
54 |
teststreaming$(EXE) \ |
5232
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
55 |
testtimer$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
56 |
testver$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
57 |
testvidinfo$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
58 |
testwin$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
59 |
testwm$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
60 |
testwm2$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
61 |
threadwin$(EXE) \ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
62 |
torturethread$(EXE) \ |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
63 |
|
1914
051df511279c
Added a test program framework for easy initialization.
Sam Lantinga <slouken@libsdl.org>
parents:
1895
diff
changeset
|
64 |
all: Makefile $(TARGETS) |
051df511279c
Added a test program framework for easy initialization.
Sam Lantinga <slouken@libsdl.org>
parents:
1895
diff
changeset
|
65 |
|
051df511279c
Added a test program framework for easy initialization.
Sam Lantinga <slouken@libsdl.org>
parents:
1895
diff
changeset
|
66 |
Makefile: $(srcdir)/Makefile.in |
051df511279c
Added a test program framework for easy initialization.
Sam Lantinga <slouken@libsdl.org>
parents:
1895
diff
changeset
|
67 |
$(SHELL) config.status $@ |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
68 |
|
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
69 |
checkkeys$(EXE): $(srcdir)/checkkeys.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
70 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
71 |
|
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
72 |
graywin$(EXE): $(srcdir)/graywin.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
73 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
74 |
|
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
75 |
loopwave$(EXE): $(srcdir)/loopwave.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
76 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
77 |
|
3017 | 78 |
testresample$(EXE): $(srcdir)/testresample.c |
79 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
|
80 |
||
2049
5f6550e5184f
Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
Ryan C. Gordon <icculus@icculus.org>
parents:
1933
diff
changeset
|
81 |
testaudioinfo$(EXE): $(srcdir)/testaudioinfo.c |
5f6550e5184f
Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
Ryan C. Gordon <icculus@icculus.org>
parents:
1933
diff
changeset
|
82 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
5f6550e5184f
Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
Ryan C. Gordon <icculus@icculus.org>
parents:
1933
diff
changeset
|
83 |
|
5f6550e5184f
Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
Ryan C. Gordon <icculus@icculus.org>
parents:
1933
diff
changeset
|
84 |
testmultiaudio$(EXE): $(srcdir)/testmultiaudio.c |
5f6550e5184f
Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
Ryan C. Gordon <icculus@icculus.org>
parents:
1933
diff
changeset
|
85 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
5f6550e5184f
Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
Ryan C. Gordon <icculus@icculus.org>
parents:
1933
diff
changeset
|
86 |
|
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
87 |
testalpha$(EXE): $(srcdir)/testalpha.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
88 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@ |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
89 |
|
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
90 |
testatomic$(EXE): $(srcdir)/testatomic.c |
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
91 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
92 |
|
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
93 |
testbitmap$(EXE): $(srcdir)/testbitmap.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
94 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
95 |
|
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
96 |
testblitspeed$(EXE): $(srcdir)/testblitspeed.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
97 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
98 |
|
1858
d3ac464fb3c1
Add program to test mouse cursor change
Patrice Mandin <patmandin@gmail.com>
parents:
1501
diff
changeset
|
99 |
testcursor$(EXE): $(srcdir)/testcursor.c |
d3ac464fb3c1
Add program to test mouse cursor change
Patrice Mandin <patmandin@gmail.com>
parents:
1501
diff
changeset
|
100 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d3ac464fb3c1
Add program to test mouse cursor change
Patrice Mandin <patmandin@gmail.com>
parents:
1501
diff
changeset
|
101 |
|
2994
7563b99e9a49
Date: Sat, 3 Jan 2009 22:11:18 -0500
Sam Lantinga <slouken@libsdl.org>
parents:
2914
diff
changeset
|
102 |
testintersections$(EXE): $(srcdir)/testintersections.c $(srcdir)/common.c |
7563b99e9a49
Date: Sat, 3 Jan 2009 22:11:18 -0500
Sam Lantinga <slouken@libsdl.org>
parents:
2914
diff
changeset
|
103 |
$(CC) -o $@ $(srcdir)/testintersections.c $(srcdir)/common.c $(CFLAGS) $(LIBS) |
7563b99e9a49
Date: Sat, 3 Jan 2009 22:11:18 -0500
Sam Lantinga <slouken@libsdl.org>
parents:
2914
diff
changeset
|
104 |
|
2914
fa109e90be36
Correct the test program
Sam Lantinga <slouken@libsdl.org>
parents:
2897
diff
changeset
|
105 |
testdraw2$(EXE): $(srcdir)/testdraw2.c $(srcdir)/common.c |
fa109e90be36
Correct the test program
Sam Lantinga <slouken@libsdl.org>
parents:
2897
diff
changeset
|
106 |
$(CC) -o $@ $(srcdir)/testdraw2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) |
fa109e90be36
Correct the test program
Sam Lantinga <slouken@libsdl.org>
parents:
2897
diff
changeset
|
107 |
|
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
108 |
testdyngl$(EXE): $(srcdir)/testdyngl.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
109 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
110 |
|
3087
0b6f51c29267
Date: Wed, 4 Mar 2009 15:38:22 +0200
Sam Lantinga <slouken@libsdl.org>
parents:
3017
diff
changeset
|
111 |
testdyngles$(EXE): $(srcdir)/testdyngles.c |
0b6f51c29267
Date: Wed, 4 Mar 2009 15:38:22 +0200
Sam Lantinga <slouken@libsdl.org>
parents:
3017
diff
changeset
|
112 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
0b6f51c29267
Date: Wed, 4 Mar 2009 15:38:22 +0200
Sam Lantinga <slouken@libsdl.org>
parents:
3017
diff
changeset
|
113 |
|
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
114 |
testerror$(EXE): $(srcdir)/testerror.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
115 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
116 |
|
1453
2eb75f8a32ca
Date: Mon, 27 Feb 2006 17:01:43 +0100
Sam Lantinga <slouken@libsdl.org>
parents:
1421
diff
changeset
|
117 |
testfile$(EXE): $(srcdir)/testfile.c |
2eb75f8a32ca
Date: Mon, 27 Feb 2006 17:01:43 +0100
Sam Lantinga <slouken@libsdl.org>
parents:
1421
diff
changeset
|
118 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
2eb75f8a32ca
Date: Mon, 27 Feb 2006 17:01:43 +0100
Sam Lantinga <slouken@libsdl.org>
parents:
1421
diff
changeset
|
119 |
|
3576
5ea08f1c29d0
Added testfill to test raw fill performance
Sam Lantinga <slouken@libsdl.org>
parents:
3417
diff
changeset
|
120 |
testfill$(EXE): $(srcdir)/testfill.c |
5ea08f1c29d0
Added testfill to test raw fill performance
Sam Lantinga <slouken@libsdl.org>
parents:
3417
diff
changeset
|
121 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
5ea08f1c29d0
Added testfill to test raw fill performance
Sam Lantinga <slouken@libsdl.org>
parents:
3417
diff
changeset
|
122 |
|
5466 | 123 |
testgamma$(EXE): $(srcdir)/testgamma.c |
124 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
|
125 |
||
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
126 |
testgesture$(EXE): $(srcdir)/testgesture.c |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
127 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@ |
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
128 |
|
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
129 |
testgl$(EXE): $(srcdir)/testgl.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
130 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@ |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
131 |
|
1915
a228436a2404
Implemented multi-window OpenGL program with test framework.
Sam Lantinga <slouken@libsdl.org>
parents:
1914
diff
changeset
|
132 |
testgl2$(EXE): $(srcdir)/testgl2.c $(srcdir)/common.c |
a228436a2404
Implemented multi-window OpenGL program with test framework.
Sam Lantinga <slouken@libsdl.org>
parents:
1914
diff
changeset
|
133 |
$(CC) -o $@ $(srcdir)/testgl2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@ |
1914
051df511279c
Added a test program framework for easy initialization.
Sam Lantinga <slouken@libsdl.org>
parents:
1895
diff
changeset
|
134 |
|
3087
0b6f51c29267
Date: Wed, 4 Mar 2009 15:38:22 +0200
Sam Lantinga <slouken@libsdl.org>
parents:
3017
diff
changeset
|
135 |
testgles$(EXE): $(srcdir)/testgles.c $(srcdir)/common.c |
0b6f51c29267
Date: Wed, 4 Mar 2009 15:38:22 +0200
Sam Lantinga <slouken@libsdl.org>
parents:
3017
diff
changeset
|
136 |
$(CC) -o $@ $(srcdir)/testgles.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@ |
0b6f51c29267
Date: Wed, 4 Mar 2009 15:38:22 +0200
Sam Lantinga <slouken@libsdl.org>
parents:
3017
diff
changeset
|
137 |
|
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
138 |
testhaptic$(EXE): $(srcdir)/testhaptic.c |
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
139 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
140 |
|
5360
220d3af9121f
Simple rumble API for haptic
Sam Lantinga <slouken@libsdl.org>
parents:
5254
diff
changeset
|
141 |
testrumble$(EXE): $(srcdir)/testrumble.c |
220d3af9121f
Simple rumble API for haptic
Sam Lantinga <slouken@libsdl.org>
parents:
5254
diff
changeset
|
142 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
220d3af9121f
Simple rumble API for haptic
Sam Lantinga <slouken@libsdl.org>
parents:
5254
diff
changeset
|
143 |
|
5508
60b63c32f06d
Don't be clever, just call it testthread
Sam Lantinga <slouken@libsdl.org>
parents:
5466
diff
changeset
|
144 |
testthread$(EXE): $(srcdir)/testthread.c |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
145 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
146 |
|
1501
73dc5d39bbf8
Added UTF-8 <-> UTF-16 <-> UTF-32 <-> UCS-2 <-> UCS-4 conversion capability
Sam Lantinga <slouken@libsdl.org>
parents:
1453
diff
changeset
|
147 |
testiconv$(EXE): $(srcdir)/testiconv.c |
73dc5d39bbf8
Added UTF-8 <-> UTF-16 <-> UTF-32 <-> UCS-2 <-> UCS-4 conversion capability
Sam Lantinga <slouken@libsdl.org>
parents:
1453
diff
changeset
|
148 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
73dc5d39bbf8
Added UTF-8 <-> UTF-16 <-> UTF-32 <-> UCS-2 <-> UCS-4 conversion capability
Sam Lantinga <slouken@libsdl.org>
parents:
1453
diff
changeset
|
149 |
|
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
150 |
testime$(EXE): $(srcdir)/testime.c |
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
151 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) @SDL_TTF_LIB@ |
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
152 |
|
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
153 |
testjoystick$(EXE): $(srcdir)/testjoystick.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
154 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
155 |
|
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
156 |
testkeys$(EXE): $(srcdir)/testkeys.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
157 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
158 |
|
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
159 |
testloadso$(EXE): $(srcdir)/testloadso.c |
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
160 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
161 |
|
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
162 |
testlock$(EXE): $(srcdir)/testlock.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
163 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
164 |
|
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
165 |
testoverlay2$(EXE): $(srcdir)/testoverlay2.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
166 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
167 |
|
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
168 |
testoverlay$(EXE): $(srcdir)/testoverlay.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
169 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
170 |
|
1421
638da75f9ab8
testplatform replaces testtypes, testendian, and testcpuinfo
Sam Lantinga <slouken@libsdl.org>
parents:
1380
diff
changeset
|
171 |
testplatform$(EXE): $(srcdir)/testplatform.c |
638da75f9ab8
testplatform replaces testtypes, testendian, and testcpuinfo
Sam Lantinga <slouken@libsdl.org>
parents:
1380
diff
changeset
|
172 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
638da75f9ab8
testplatform replaces testtypes, testendian, and testcpuinfo
Sam Lantinga <slouken@libsdl.org>
parents:
1380
diff
changeset
|
173 |
|
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
174 |
testpower$(EXE): $(srcdir)/testpower.c |
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
175 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
176 |
|
5240
a9eb73f21e3a
Added a scaling test program
Sam Lantinga <slouken@libsdl.org>
parents:
5232
diff
changeset
|
177 |
testscale$(EXE): $(srcdir)/testscale.c $(srcdir)/common.c |
a9eb73f21e3a
Added a scaling test program
Sam Lantinga <slouken@libsdl.org>
parents:
5232
diff
changeset
|
178 |
$(CC) -o $@ $(srcdir)/testscale.c $(srcdir)/common.c $(CFLAGS) $(LIBS) |
a9eb73f21e3a
Added a scaling test program
Sam Lantinga <slouken@libsdl.org>
parents:
5232
diff
changeset
|
179 |
|
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
180 |
testsem$(EXE): $(srcdir)/testsem.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
181 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
182 |
|
5232
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
183 |
testshader$(EXE): $(srcdir)/testshader.c |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
184 |
$(CC) -o $@ $(srcdir)/testshader.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@ |
74bc160186a8
Added a simple GLSL example using SDL
Sam Lantinga <slouken@libsdl.org>
parents:
5151
diff
changeset
|
185 |
|
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
|
186 |
testshape$(EXE): $(srcdir)/testshape.c |
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
|
187 |
$(CC) -o $@ $? -std=c99 $(CFLAGS) $(LIBS) |
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
|
188 |
|
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
189 |
testsprite$(EXE): $(srcdir)/testsprite.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
190 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@ |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
191 |
|
1914
051df511279c
Added a test program framework for easy initialization.
Sam Lantinga <slouken@libsdl.org>
parents:
1895
diff
changeset
|
192 |
testsprite2$(EXE): $(srcdir)/testsprite2.c $(srcdir)/common.c |
051df511279c
Added a test program framework for easy initialization.
Sam Lantinga <slouken@libsdl.org>
parents:
1895
diff
changeset
|
193 |
$(CC) -o $@ $(srcdir)/testsprite2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @MATHLIB@ |
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
|
194 |
|
5254
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
195 |
testspriteminimal$(EXE): $(srcdir)/testspriteminimal.c |
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
196 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@ |
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
197 |
|
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
198 |
teststreaming$(EXE): $(srcdir)/teststreaming.c |
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
199 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@ |
f650566b2f51
Added a very simple example of texture streaming
Sam Lantinga <slouken@libsdl.org>
parents:
5243
diff
changeset
|
200 |
|
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
201 |
testtimer$(EXE): $(srcdir)/testtimer.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
202 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
203 |
|
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
204 |
testver$(EXE): $(srcdir)/testver.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
205 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
206 |
|
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
207 |
testvidinfo$(EXE): $(srcdir)/testvidinfo.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
208 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
209 |
|
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
210 |
testwin$(EXE): $(srcdir)/testwin.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
211 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
212 |
|
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
213 |
testwm$(EXE): $(srcdir)/testwm.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
214 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
215 |
|
1933
7ee5297340f7
Implemented Cocoa window support
Sam Lantinga <slouken@libsdl.org>
parents:
1915
diff
changeset
|
216 |
testwm2$(EXE): $(srcdir)/testwm2.c $(srcdir)/common.c |
7ee5297340f7
Implemented Cocoa window support
Sam Lantinga <slouken@libsdl.org>
parents:
1915
diff
changeset
|
217 |
$(CC) -o $@ $(srcdir)/testwm2.c $(srcdir)/common.c $(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
|
218 |
|
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
219 |
threadwin$(EXE): $(srcdir)/threadwin.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
220 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
221 |
|
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
222 |
torturethread$(EXE): $(srcdir)/torturethread.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
223 |
$(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
224 |
|
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
225 |
clean: |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
226 |
rm -f $(TARGETS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
227 |
|
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
228 |
distclean: clean |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
229 |
rm -f Makefile |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
230 |
rm -f config.status config.cache config.log |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
231 |
rm -rf $(srcdir)/autom4te* |