annotate test/Makefile.in @ 3202:3aa519a5c676

I've made so many changes I don't dare continue until I check the current stuff in. /test/testatomic.c performs absolutely basic tests to show that the function work as expected. Need a second test to do more detailed tests. /include/SDL_atomic.h provides declarations for all included functions. /src/atomic/linux/SDL_atomic.c provided all the functions. On a generic built the 64 bit functions work, but they are emulated. On a build for -march=pentium and above the 64 bit functions use native instructions /src/atomic/dummy/SDL_atomic.c emulates all the operations using SDL_mutex.h. /src/atomic/win32/SDL_atomic.c is a copy of dummy /src/atomic/macosx/SDL_atomic.s is a copy of dummy These versions of SDL_atomic.c provide a frame work for building the library with a mixture of native and emulated functions. This allows the whole library to be provided on all platforms. (I hope.) I hope this fits with the SDL philosophy of either providing a common subset or emulating when the platform is missing a feature. I have not added dummy, macosx, or win32 to the build. They are there as place holders for future work. I have modified congifure.in to compile sources in /src/atomic/linux. (The SDL configure.in file is an amazing piece of work and I hope I didn't mess it up. :-)
author Bob Pendleton <bob@pendleton.com>
date Mon, 29 Jun 2009 19:54:43 +0000
parents 77d6336711fc
children 5db962a9a991
rev   line source
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
3180
77d6336711fc First commit for SDL atomic operations.
Bob Pendleton <bob@pendleton.com>
parents: 3170
diff changeset
10 TARGETS = checkkeys$(EXE) graywin$(EXE) loopwave$(EXE) testresample$(EXE) testaudioinfo$(EXE) testmultiaudio$(EXE) testpower$(EXE) testalpha$(EXE) testbitmap$(EXE) testblitspeed$(EXE) testcdrom$(EXE) testcursor$(EXE) testintersections$(EXE) testdraw2$(EXE) testdyngl$(EXE) testdyngles$(EXE) testerror$(EXE) testfile$(EXE) testgamma$(EXE) testgl$(EXE) testgl2$(EXE) testgles$(EXE) testhread$(EXE) testiconv$(EXE) testjoystick$(EXE) testkeys$(EXE) testlock$(EXE) testoverlay2$(EXE) testoverlay$(EXE) testpalette$(EXE) testplatform$(EXE) testsem$(EXE) testsprite$(EXE) testsprite2$(EXE) testtimer$(EXE) testver$(EXE) testvidinfo$(EXE) testwin$(EXE) testwm$(EXE) testwm2$(EXE) threadwin$(EXE) torturethread$(EXE) testloadso$(EXE) testhaptic$(EXE) testmmousetablet$(EXE) testatomic$(EXE)
1380
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
11
1914
051df511279c Added a test program framework for easy initialization.
Sam Lantinga <slouken@libsdl.org>
parents: 1895
diff changeset
12 all: Makefile $(TARGETS)
051df511279c Added a test program framework for easy initialization.
Sam Lantinga <slouken@libsdl.org>
parents: 1895
diff changeset
13
051df511279c Added a test program framework for easy initialization.
Sam Lantinga <slouken@libsdl.org>
parents: 1895
diff changeset
14 Makefile: $(srcdir)/Makefile.in
051df511279c Added a test program framework for easy initialization.
Sam Lantinga <slouken@libsdl.org>
parents: 1895
diff changeset
15 $(SHELL) config.status $@
1380
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
16
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
17 checkkeys$(EXE): $(srcdir)/checkkeys.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
18 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
19
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
20 graywin$(EXE): $(srcdir)/graywin.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
21 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
22
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
23 loopwave$(EXE): $(srcdir)/loopwave.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
24 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
25
3017
3272431eeee2 Added testresample.c
Ryan C. Gordon <icculus@icculus.org>
parents: 2994
diff changeset
26 testresample$(EXE): $(srcdir)/testresample.c
3272431eeee2 Added testresample.c
Ryan C. Gordon <icculus@icculus.org>
parents: 2994
diff changeset
27 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
3272431eeee2 Added testresample.c
Ryan C. Gordon <icculus@icculus.org>
parents: 2994
diff changeset
28
2049
5f6550e5184f Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
Ryan C. Gordon <icculus@icculus.org>
parents: 1933
diff changeset
29 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
30 $(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
31
5f6550e5184f Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
Ryan C. Gordon <icculus@icculus.org>
parents: 1933
diff changeset
32 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
33 $(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
34
3170
b7a48f533966 Initial work on power subsystem for SDL 1.3.
Ryan C. Gordon <icculus@icculus.org>
parents: 3087
diff changeset
35 testpower$(EXE): $(srcdir)/testpower.c
b7a48f533966 Initial work on power subsystem for SDL 1.3.
Ryan C. Gordon <icculus@icculus.org>
parents: 3087
diff changeset
36 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
b7a48f533966 Initial work on power subsystem for SDL 1.3.
Ryan C. Gordon <icculus@icculus.org>
parents: 3087
diff changeset
37
1380
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
38 testalpha$(EXE): $(srcdir)/testalpha.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
39 $(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
40
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
41 testbitmap$(EXE): $(srcdir)/testbitmap.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
42 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
43
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
44 testblitspeed$(EXE): $(srcdir)/testblitspeed.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
45 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
46
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
47 testcdrom$(EXE): $(srcdir)/testcdrom.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
48 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
49
1858
d3ac464fb3c1 Add program to test mouse cursor change
Patrice Mandin <patmandin@gmail.com>
parents: 1501
diff changeset
50 testcursor$(EXE): $(srcdir)/testcursor.c
d3ac464fb3c1 Add program to test mouse cursor change
Patrice Mandin <patmandin@gmail.com>
parents: 1501
diff changeset
51 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d3ac464fb3c1 Add program to test mouse cursor change
Patrice Mandin <patmandin@gmail.com>
parents: 1501
diff changeset
52
2994
7563b99e9a49 Date: Sat, 3 Jan 2009 22:11:18 -0500
Sam Lantinga <slouken@libsdl.org>
parents: 2914
diff changeset
53 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
54 $(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
55
2914
fa109e90be36 Correct the test program
Sam Lantinga <slouken@libsdl.org>
parents: 2897
diff changeset
56 testdraw2$(EXE): $(srcdir)/testdraw2.c $(srcdir)/common.c
fa109e90be36 Correct the test program
Sam Lantinga <slouken@libsdl.org>
parents: 2897
diff changeset
57 $(CC) -o $@ $(srcdir)/testdraw2.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
fa109e90be36 Correct the test program
Sam Lantinga <slouken@libsdl.org>
parents: 2897
diff changeset
58
1380
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
59 testdyngl$(EXE): $(srcdir)/testdyngl.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
60 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
61
3087
0b6f51c29267 Date: Wed, 4 Mar 2009 15:38:22 +0200
Sam Lantinga <slouken@libsdl.org>
parents: 3017
diff changeset
62 testdyngles$(EXE): $(srcdir)/testdyngles.c
0b6f51c29267 Date: Wed, 4 Mar 2009 15:38:22 +0200
Sam Lantinga <slouken@libsdl.org>
parents: 3017
diff changeset
63 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
0b6f51c29267 Date: Wed, 4 Mar 2009 15:38:22 +0200
Sam Lantinga <slouken@libsdl.org>
parents: 3017
diff changeset
64
1380
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
65 testerror$(EXE): $(srcdir)/testerror.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
66 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
67
1453
2eb75f8a32ca Date: Mon, 27 Feb 2006 17:01:43 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 1421
diff changeset
68 testfile$(EXE): $(srcdir)/testfile.c
2eb75f8a32ca Date: Mon, 27 Feb 2006 17:01:43 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 1421
diff changeset
69 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
2eb75f8a32ca Date: Mon, 27 Feb 2006 17:01:43 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 1421
diff changeset
70
1380
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
71 testgamma$(EXE): $(srcdir)/testgamma.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
72 $(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
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 testgl$(EXE): $(srcdir)/testgl.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
75 $(CC) -o $@ $? $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
76
1915
a228436a2404 Implemented multi-window OpenGL program with test framework.
Sam Lantinga <slouken@libsdl.org>
parents: 1914
diff changeset
77 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
78 $(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
79
3087
0b6f51c29267 Date: Wed, 4 Mar 2009 15:38:22 +0200
Sam Lantinga <slouken@libsdl.org>
parents: 3017
diff changeset
80 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
81 $(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
82
1380
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
83 testhread$(EXE): $(srcdir)/testhread.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
84 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
85
1501
73dc5d39bbf8 Added UTF-8 <-> UTF-16 <-> UTF-32 <-> UCS-2 <-> UCS-4 conversion capability
Sam Lantinga <slouken@libsdl.org>
parents: 1453
diff changeset
86 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
87 $(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
88
1380
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
89 testjoystick$(EXE): $(srcdir)/testjoystick.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
90 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
91
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
92 testkeys$(EXE): $(srcdir)/testkeys.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
93 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
94
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
95 testlock$(EXE): $(srcdir)/testlock.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
96 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
97
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
98 testoverlay2$(EXE): $(srcdir)/testoverlay2.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
99 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
100
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
101 testoverlay$(EXE): $(srcdir)/testoverlay.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
102 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
103
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
104 testpalette$(EXE): $(srcdir)/testpalette.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
105 $(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
106
1421
638da75f9ab8 testplatform replaces testtypes, testendian, and testcpuinfo
Sam Lantinga <slouken@libsdl.org>
parents: 1380
diff changeset
107 testplatform$(EXE): $(srcdir)/testplatform.c
638da75f9ab8 testplatform replaces testtypes, testendian, and testcpuinfo
Sam Lantinga <slouken@libsdl.org>
parents: 1380
diff changeset
108 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
638da75f9ab8 testplatform replaces testtypes, testendian, and testcpuinfo
Sam Lantinga <slouken@libsdl.org>
parents: 1380
diff changeset
109
1380
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
110 testsem$(EXE): $(srcdir)/testsem.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
111 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
112
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
113 testsprite$(EXE): $(srcdir)/testsprite.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
114 $(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
115
1914
051df511279c Added a test program framework for easy initialization.
Sam Lantinga <slouken@libsdl.org>
parents: 1895
diff changeset
116 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
117 $(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
118
1380
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
119 testtimer$(EXE): $(srcdir)/testtimer.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
120 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
121
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
122 testver$(EXE): $(srcdir)/testver.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
123 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
124
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
125 testvidinfo$(EXE): $(srcdir)/testvidinfo.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
126 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
127
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
128 testwin$(EXE): $(srcdir)/testwin.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
129 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
130
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
131 testwm$(EXE): $(srcdir)/testwm.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
132 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
133
1933
7ee5297340f7 Implemented Cocoa window support
Sam Lantinga <slouken@libsdl.org>
parents: 1915
diff changeset
134 testwm2$(EXE): $(srcdir)/testwm2.c $(srcdir)/common.c
7ee5297340f7 Implemented Cocoa window support
Sam Lantinga <slouken@libsdl.org>
parents: 1915
diff changeset
135 $(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
136
1380
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
137 threadwin$(EXE): $(srcdir)/threadwin.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
138 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
139
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
140 torturethread$(EXE): $(srcdir)/torturethread.c
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
141 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
142
2067
dcdb175c2829 Merged r2899:2900 from SDL-1.2 branch to trunk: testloadso program.
Ryan C. Gordon <icculus@icculus.org>
parents: 2049
diff changeset
143 testloadso$(EXE): $(srcdir)/testloadso.c
dcdb175c2829 Merged r2899:2900 from SDL-1.2 branch to trunk: testloadso program.
Ryan C. Gordon <icculus@icculus.org>
parents: 2049
diff changeset
144 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
dcdb175c2829 Merged r2899:2900 from SDL-1.2 branch to trunk: testloadso program.
Ryan C. Gordon <icculus@icculus.org>
parents: 2049
diff changeset
145
2713
0906692aa6a4 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2067
diff changeset
146 testhaptic$(EXE): $(srcdir)/testhaptic.c
0906692aa6a4 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2067
diff changeset
147 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
0906692aa6a4 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2067
diff changeset
148
2734
dd25eabe441c Many mouse and tablet linux test file added
Szymon Wilczek <kazeuser@gmail.com>
parents: 2713
diff changeset
149 testmmousetablet$(EXE): $(srcdir)/testmmousetablet.c
dd25eabe441c Many mouse and tablet linux test file added
Szymon Wilczek <kazeuser@gmail.com>
parents: 2713
diff changeset
150 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
1380
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
151
3180
77d6336711fc First commit for SDL atomic operations.
Bob Pendleton <bob@pendleton.com>
parents: 3170
diff changeset
152 testatomic$(EXE): $(srcdir)/testatomic.c
77d6336711fc First commit for SDL atomic operations.
Bob Pendleton <bob@pendleton.com>
parents: 3170
diff changeset
153 $(CC) -o $@ $? $(CFLAGS) $(LIBS)
77d6336711fc First commit for SDL atomic operations.
Bob Pendleton <bob@pendleton.com>
parents: 3170
diff changeset
154
1380
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
155 clean:
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
156 rm -f $(TARGETS)
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
157
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
158 distclean: clean
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
159 rm -f Makefile
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
160 rm -f config.status config.cache config.log
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
161 rm -rf $(srcdir)/autom4te*