source: trunk/test/Makefile.am @ 1052

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

core: implement complex numbers and add unit tests for these.

File size: 1.7 KB
Line 
1
2SUBDIRS = math tutorial 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 sandbox$(EXEEXT) sandbox.self
12        test x$(MAKE_FSELF) = xno || make_fself benchsuite$(EXEEXT) benchsuite.self
13        test x$(MAKE_FSELF) = xno || make_fself testsuite$(EXEEXT) testsuite.self
14
15CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \
16             $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \
17             $(noinst_PROGRAMS:%$(EXEEXT)=%.exe)
18
19EXTRA_DIST = data/gradient.png
20
21noinst_PROGRAMS = quad sandbox benchsuite testsuite
22
23TESTS = testsuite
24
25testsuite_SOURCES = testsuite.cpp \
26    unit/matrix.cpp unit/half.cpp unit/trig.cpp unit/build.cpp \
27    unit/real.cpp unit/image.cpp unit/quat.cpp unit/cmplx.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/matrix.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
44sandbox_SOURCES = debug/sandbox.cpp
45sandbox_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
46sandbox_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
47sandbox_DEPENDENCIES = $(top_builddir)/src/liblol.a
48
Note: See TracBrowser for help on using the repository browser.