source: trunk/test/Makefile.am @ 1309

Last change on this file since 1309 was 1294, checked in by sam, 8 years ago

test: add unit tests for the Array class.

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