test/Makefile.in
author Sam Lantinga <slouken@libsdl.org>
Sun, 21 Dec 2008 08:24:32 +0000
changeset 2897 8be863ef68ee
parent 2887 f8c0c5ef6d54
child 2914 fa109e90be36
permissions -rw-r--r--
Added test program to verify fill functionality
slouken@1380
     1
# Makefile to build the SDL tests
slouken@1380
     2
slouken@1380
     3
srcdir  = @srcdir@
slouken@1380
     4
slouken@1380
     5
CC      = @CC@
slouken@1380
     6
EXE	= @EXE@
slouken@1380
     7
CFLAGS  = @CFLAGS@
slouken@1380
     8
LIBS	= @LIBS@
slouken@1380
     9
slouken@2897
    10
TARGETS = checkkeys$(EXE) graywin$(EXE) loopwave$(EXE) testaudioinfo$(EXE) testmultiaudio$(EXE) testalpha$(EXE) testbitmap$(EXE) testblitspeed$(EXE) testcdrom$(EXE) testcursor$(EXE) testdyngl$(EXE) testerror$(EXE) testfile$(EXE) testfill2$(EXE) testgamma$(EXE) testgl$(EXE) testgl2$(EXE) testhread$(EXE) testiconv$(EXE) testjoystick$(EXE) testkeys$(EXE) testlines2$(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) 
slouken@1380
    11
slouken@1914
    12
all: Makefile $(TARGETS)
slouken@1914
    13
slouken@1914
    14
Makefile: $(srcdir)/Makefile.in
slouken@1914
    15
	$(SHELL) config.status $@
slouken@1380
    16
slouken@1380
    17
checkkeys$(EXE): $(srcdir)/checkkeys.c
slouken@1380
    18
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    19
slouken@1380
    20
graywin$(EXE): $(srcdir)/graywin.c
slouken@1380
    21
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    22
slouken@1380
    23
loopwave$(EXE): $(srcdir)/loopwave.c
slouken@1380
    24
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    25
icculus@2049
    26
testaudioinfo$(EXE): $(srcdir)/testaudioinfo.c
icculus@2049
    27
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@2049
    28
icculus@2049
    29
testmultiaudio$(EXE): $(srcdir)/testmultiaudio.c
icculus@2049
    30
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@2049
    31
slouken@1380
    32
testalpha$(EXE): $(srcdir)/testalpha.c
slouken@1380
    33
	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
slouken@1380
    34
slouken@1380
    35
testbitmap$(EXE): $(srcdir)/testbitmap.c
slouken@1380
    36
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    37
slouken@1380
    38
testblitspeed$(EXE): $(srcdir)/testblitspeed.c
slouken@1380
    39
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    40
slouken@1380
    41
testcdrom$(EXE): $(srcdir)/testcdrom.c
slouken@1380
    42
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    43
patmandin@1858
    44
testcursor$(EXE): $(srcdir)/testcursor.c
patmandin@1858
    45
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
patmandin@1858
    46
slouken@1380
    47
testdyngl$(EXE): $(srcdir)/testdyngl.c
slouken@1380
    48
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    49
slouken@1380
    50
testerror$(EXE): $(srcdir)/testerror.c
slouken@1380
    51
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    52
slouken@1453
    53
testfile$(EXE): $(srcdir)/testfile.c
slouken@1453
    54
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1453
    55
slouken@2897
    56
testfill2$(EXE): $(srcdir)/testfill2.c $(srcdir)/common.c
slouken@2897
    57
	$(CC) -o $@ $(srcdir)/testfill2.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
slouken@2897
    58
slouken@1380
    59
testgamma$(EXE): $(srcdir)/testgamma.c
slouken@1380
    60
	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
slouken@1380
    61
slouken@1380
    62
testgl$(EXE): $(srcdir)/testgl.c
slouken@1380
    63
	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
slouken@1380
    64
slouken@1915
    65
testgl2$(EXE): $(srcdir)/testgl2.c $(srcdir)/common.c
slouken@1915
    66
	$(CC) -o $@ $(srcdir)/testgl2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
slouken@1914
    67
slouken@1380
    68
testhread$(EXE): $(srcdir)/testhread.c
slouken@1380
    69
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    70
slouken@1501
    71
testiconv$(EXE): $(srcdir)/testiconv.c
slouken@1501
    72
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1501
    73
slouken@1380
    74
testjoystick$(EXE): $(srcdir)/testjoystick.c
slouken@1380
    75
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    76
slouken@1380
    77
testkeys$(EXE): $(srcdir)/testkeys.c
slouken@1380
    78
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    79
slouken@2887
    80
testlines2$(EXE): $(srcdir)/testlines2.c $(srcdir)/common.c
slouken@2887
    81
	$(CC) -o $@ $(srcdir)/testlines2.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
slouken@2887
    82
slouken@1380
    83
testlock$(EXE): $(srcdir)/testlock.c
slouken@1380
    84
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    85
slouken@1380
    86
testoverlay2$(EXE): $(srcdir)/testoverlay2.c
slouken@1380
    87
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    88
slouken@1380
    89
testoverlay$(EXE): $(srcdir)/testoverlay.c
slouken@1380
    90
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
    91
slouken@1380
    92
testpalette$(EXE): $(srcdir)/testpalette.c
slouken@1380
    93
	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
slouken@1380
    94
slouken@1421
    95
testplatform$(EXE): $(srcdir)/testplatform.c
slouken@1421
    96
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1421
    97
slouken@1380
    98
testsem$(EXE): $(srcdir)/testsem.c
slouken@1380
    99
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
   100
slouken@1380
   101
testsprite$(EXE): $(srcdir)/testsprite.c
slouken@1380
   102
	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
slouken@1380
   103
slouken@1914
   104
testsprite2$(EXE): $(srcdir)/testsprite2.c $(srcdir)/common.c
slouken@1914
   105
	$(CC) -o $@ $(srcdir)/testsprite2.c $(srcdir)/common.c $(CFLAGS) $(LIBS) @MATHLIB@
slouken@1895
   106
slouken@1380
   107
testtimer$(EXE): $(srcdir)/testtimer.c
slouken@1380
   108
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
   109
slouken@1380
   110
testver$(EXE): $(srcdir)/testver.c
slouken@1380
   111
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
   112
slouken@1380
   113
testvidinfo$(EXE): $(srcdir)/testvidinfo.c
slouken@1380
   114
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
   115
slouken@1380
   116
testwin$(EXE): $(srcdir)/testwin.c
slouken@1380
   117
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
   118
slouken@1380
   119
testwm$(EXE): $(srcdir)/testwm.c
slouken@1380
   120
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
   121
slouken@1933
   122
testwm2$(EXE): $(srcdir)/testwm2.c $(srcdir)/common.c
slouken@1933
   123
	$(CC) -o $@ $(srcdir)/testwm2.c $(srcdir)/common.c $(CFLAGS) $(LIBS)
slouken@1895
   124
slouken@1380
   125
threadwin$(EXE): $(srcdir)/threadwin.c
slouken@1380
   126
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
   127
slouken@1380
   128
torturethread$(EXE): $(srcdir)/torturethread.c
slouken@1380
   129
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
   130
icculus@2067
   131
testloadso$(EXE): $(srcdir)/testloadso.c
icculus@2067
   132
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@2067
   133
slouken@2713
   134
testhaptic$(EXE): $(srcdir)/testhaptic.c
slouken@2713
   135
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@2713
   136
kazeuser@2734
   137
testmmousetablet$(EXE): $(srcdir)/testmmousetablet.c
kazeuser@2734
   138
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
slouken@1380
   139
slouken@1380
   140
clean:
slouken@1380
   141
	rm -f $(TARGETS)
slouken@1380
   142
slouken@1380
   143
distclean: clean
slouken@1380
   144
	rm -f Makefile
slouken@1380
   145
	rm -f config.status config.cache config.log
slouken@1380
   146
	rm -rf $(srcdir)/autom4te*