Mercurial > sdl-ios-xcode
annotate test/Makefile.in @ 1402:d910939febfa
Use consistent identifiers for the various platforms we support.
Make sure every source file includes SDL_config.h, so the proper system
headers are chosen.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 21 Feb 2006 08:46:50 +0000 |
parents | d94b080ff6ce |
children | 638da75f9ab8 |
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 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
10 TARGETS = checkkeys$(EXE) graywin$(EXE) loopwave$(EXE) testalpha$(EXE) testbitmap$(EXE) testblitspeed$(EXE) testcdrom$(EXE) testcpuinfo$(EXE) testdyngl$(EXE) testendian$(EXE) testerror$(EXE) testgamma$(EXE) testgl$(EXE) testhread$(EXE) testjoystick$(EXE) testkeys$(EXE) testlock$(EXE) testoverlay2$(EXE) testoverlay$(EXE) testpalette$(EXE) testsem$(EXE) testsprite$(EXE) testtimer$(EXE) testtypes$(EXE) testver$(EXE) testvidinfo$(EXE) testwin$(EXE) testwm$(EXE) threadwin$(EXE) torturethread$(EXE) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
11 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
12 all: $(TARGETS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
13 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
14 checkkeys$(EXE): $(srcdir)/checkkeys.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
15 $(CC) -o $@ $? $(CFLAGS) $(LIBS) |
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 graywin$(EXE): $(srcdir)/graywin.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 loopwave$(EXE): $(srcdir)/loopwave.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 testalpha$(EXE): $(srcdir)/testalpha.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
24 $(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@ |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
25 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
26 testbitmap$(EXE): $(srcdir)/testbitmap.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
27 $(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
28 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
29 testblitspeed$(EXE): $(srcdir)/testblitspeed.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
30 $(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
31 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
32 testcdrom$(EXE): $(srcdir)/testcdrom.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
33 $(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
34 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
35 testcpuinfo$(EXE): $(srcdir)/testcpuinfo.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
36 $(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
37 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
38 testdyngl$(EXE): $(srcdir)/testdyngl.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
39 $(CC) -o $@ $? $(CFLAGS) $(LIBS) |
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 testendian$(EXE): $(srcdir)/testendian.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 testerror$(EXE): $(srcdir)/testerror.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 testgamma$(EXE): $(srcdir)/testgamma.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
48 $(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@ |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
49 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
50 testgl$(EXE): $(srcdir)/testgl.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
51 $(CC) -o $@ $? $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@ |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
52 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
53 testhread$(EXE): $(srcdir)/testhread.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
54 $(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
55 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
56 testjoystick$(EXE): $(srcdir)/testjoystick.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
57 $(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
58 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
59 testkeys$(EXE): $(srcdir)/testkeys.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 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
62 testlock$(EXE): $(srcdir)/testlock.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
63 $(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
64 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
65 testoverlay2$(EXE): $(srcdir)/testoverlay2.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 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
68 testoverlay$(EXE): $(srcdir)/testoverlay.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
69 $(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
70 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
71 testpalette$(EXE): $(srcdir)/testpalette.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 testsem$(EXE): $(srcdir)/testsem.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
75 $(CC) -o $@ $? $(CFLAGS) $(LIBS) |
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 testsprite$(EXE): $(srcdir)/testsprite.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
78 $(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@ |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
79 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
80 testtimer$(EXE): $(srcdir)/testtimer.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
81 $(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
82 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
83 testtypes$(EXE): $(srcdir)/testtypes.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 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
86 testver$(EXE): $(srcdir)/testver.c |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
87 $(CC) -o $@ $? $(CFLAGS) $(LIBS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
88 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
89 testvidinfo$(EXE): $(srcdir)/testvidinfo.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 testwin$(EXE): $(srcdir)/testwin.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 testwm$(EXE): $(srcdir)/testwm.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 threadwin$(EXE): $(srcdir)/threadwin.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 torturethread$(EXE): $(srcdir)/torturethread.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 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
105 clean: |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
106 rm -f $(TARGETS) |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
107 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
108 distclean: clean |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
109 rm -f Makefile |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
110 rm -f config.status config.cache config.log |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
111 rm -rf $(srcdir)/autom4te* |