source: trunk/test/Makefile.am @ 978

Last change on this file since 978 was 978, checked in by sam, 9 years ago

test: add simple unit tests for image loading.

File size: 1.6 KB
Line 
1
2AM_CPPFLAGS = -I$(top_srcdir)/src
3
4bench: benchsuite$(EXEEXT)
5        ./benchsuite$(EXEEXT)
6
7all-local: $(noinst_PROGRAMS)
8        test x$(MAKE_FSELF) = xno || make_fself quad$(EXEEXT) quad.self
9        test x$(MAKE_FSELF) = xno || make_fself sandbox$(EXEEXT) sandbox.self
10        test x$(MAKE_FSELF) = xno || make_fself benchsuite$(EXEEXT) benchsuite.self
11        test x$(MAKE_FSELF) = xno || make_fself testsuite$(EXEEXT) testsuite.self
12
13CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \
14             $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \
15             $(noinst_PROGRAMS:%$(EXEEXT)=%.exe)
16
17EXTRA_DIST = data/gradient.png
18
19noinst_PROGRAMS = quad sandbox benchsuite testsuite
20
21TESTS = testsuite
22
23testsuite_SOURCES = testsuite.cpp \
24    unit/matrix.cpp unit/half.cpp unit/trig.cpp unit/build.cpp \
25    unit/real.cpp unit/image.cpp
26testsuite_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
27testsuite_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
28testsuite_DEPENDENCIES = $(top_builddir)/src/liblol.a
29
30benchsuite_SOURCES = benchsuite.cpp \
31    benchmark/matrix.cpp benchmark/half.cpp benchmark/trig.cpp \
32    benchmark/real.cpp
33benchsuite_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
34benchsuite_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
35benchsuite_DEPENDENCIES = $(top_builddir)/src/liblol.a
36
37quad_SOURCES = debug/quad.cpp
38quad_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
39quad_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
40quad_DEPENDENCIES = $(top_builddir)/src/liblol.a
41
42sandbox_SOURCES = debug/sandbox.cpp
43sandbox_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
44sandbox_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
45sandbox_DEPENDENCIES = $(top_builddir)/src/liblol.a
46
Note: See TracBrowser for help on using the repository browser.