test/Makefile.in
author Ryan C. Gordon <icculus@icculus.org>
Mon, 18 Feb 2019 00:26:53 -0500
changeset 69 a2c5f6a01a55
parent 0 a6cb692b8939
permissions -rw-r--r--
Fill in a default palette for 8-bit screen surfaces.
icculus@0
     1
# Makefile to build the SDL tests
icculus@0
     2
icculus@0
     3
srcdir  = @srcdir@
icculus@0
     4
icculus@0
     5
CC      = @CC@
icculus@0
     6
EXE	= @EXE@
icculus@0
     7
CFLAGS  = @CFLAGS@
icculus@0
     8
LIBS	= @LIBS@
icculus@0
     9
icculus@0
    10
TARGETS = checkkeys$(EXE) graywin$(EXE) loopwave$(EXE) testalpha$(EXE) testbitmap$(EXE) testblitspeed$(EXE) testcdrom$(EXE) testcursor$(EXE) testdyngl$(EXE) testerror$(EXE) testfile$(EXE) testgamma$(EXE) testgl$(EXE) testhread$(EXE) testiconv$(EXE) testjoystick$(EXE) testkeys$(EXE) testlock$(EXE) testoverlay2$(EXE) testoverlay$(EXE) testpalette$(EXE) testplatform$(EXE) testsem$(EXE) testsprite$(EXE) testtimer$(EXE) testver$(EXE) testvidinfo$(EXE) testwin$(EXE) testwm$(EXE) threadwin$(EXE) torturethread$(EXE) testloadso$(EXE)
icculus@0
    11
icculus@0
    12
all: $(TARGETS)
icculus@0
    13
icculus@0
    14
checkkeys$(EXE): $(srcdir)/checkkeys.c
icculus@0
    15
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    16
icculus@0
    17
graywin$(EXE): $(srcdir)/graywin.c
icculus@0
    18
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    19
icculus@0
    20
loopwave$(EXE): $(srcdir)/loopwave.c
icculus@0
    21
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    22
icculus@0
    23
testalpha$(EXE): $(srcdir)/testalpha.c
icculus@0
    24
	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
icculus@0
    25
icculus@0
    26
testbitmap$(EXE): $(srcdir)/testbitmap.c
icculus@0
    27
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    28
icculus@0
    29
testblitspeed$(EXE): $(srcdir)/testblitspeed.c
icculus@0
    30
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    31
icculus@0
    32
testcdrom$(EXE): $(srcdir)/testcdrom.c
icculus@0
    33
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    34
icculus@0
    35
testcursor$(EXE): $(srcdir)/testcursor.c
icculus@0
    36
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    37
icculus@0
    38
testdyngl$(EXE): $(srcdir)/testdyngl.c
icculus@0
    39
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    40
icculus@0
    41
testerror$(EXE): $(srcdir)/testerror.c
icculus@0
    42
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    43
icculus@0
    44
testfile$(EXE): $(srcdir)/testfile.c
icculus@0
    45
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    46
icculus@0
    47
testgamma$(EXE): $(srcdir)/testgamma.c
icculus@0
    48
	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
icculus@0
    49
icculus@0
    50
testgl$(EXE): $(srcdir)/testgl.c
icculus@0
    51
	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @GLLIB@ @MATHLIB@
icculus@0
    52
icculus@0
    53
testhread$(EXE): $(srcdir)/testhread.c
icculus@0
    54
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    55
icculus@0
    56
testiconv$(EXE): $(srcdir)/testiconv.c
icculus@0
    57
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    58
icculus@0
    59
testjoystick$(EXE): $(srcdir)/testjoystick.c
icculus@0
    60
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    61
icculus@0
    62
testkeys$(EXE): $(srcdir)/testkeys.c
icculus@0
    63
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    64
icculus@0
    65
testlock$(EXE): $(srcdir)/testlock.c
icculus@0
    66
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    67
icculus@0
    68
testoverlay2$(EXE): $(srcdir)/testoverlay2.c
icculus@0
    69
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    70
icculus@0
    71
testoverlay$(EXE): $(srcdir)/testoverlay.c
icculus@0
    72
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    73
icculus@0
    74
testpalette$(EXE): $(srcdir)/testpalette.c
icculus@0
    75
	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
icculus@0
    76
icculus@0
    77
testplatform$(EXE): $(srcdir)/testplatform.c
icculus@0
    78
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    79
icculus@0
    80
testsem$(EXE): $(srcdir)/testsem.c
icculus@0
    81
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    82
icculus@0
    83
testsprite$(EXE): $(srcdir)/testsprite.c
icculus@0
    84
	$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@
icculus@0
    85
icculus@0
    86
testtimer$(EXE): $(srcdir)/testtimer.c
icculus@0
    87
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    88
icculus@0
    89
testver$(EXE): $(srcdir)/testver.c
icculus@0
    90
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    91
icculus@0
    92
testvidinfo$(EXE): $(srcdir)/testvidinfo.c
icculus@0
    93
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    94
icculus@0
    95
testwin$(EXE): $(srcdir)/testwin.c
icculus@0
    96
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
    97
icculus@0
    98
testwm$(EXE): $(srcdir)/testwm.c
icculus@0
    99
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
   100
icculus@0
   101
threadwin$(EXE): $(srcdir)/threadwin.c
icculus@0
   102
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
   103
icculus@0
   104
torturethread$(EXE): $(srcdir)/torturethread.c
icculus@0
   105
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
   106
icculus@0
   107
testloadso$(EXE): $(srcdir)/testloadso.c
icculus@0
   108
	$(CC) -o $@ $? $(CFLAGS) $(LIBS)
icculus@0
   109
icculus@0
   110
icculus@0
   111
clean:
icculus@0
   112
	rm -f $(TARGETS)
icculus@0
   113
icculus@0
   114
distclean: clean
icculus@0
   115
	rm -f Makefile
icculus@0
   116
	rm -f config.status config.cache config.log
icculus@0
   117
	rm -rf $(srcdir)/autom4te*