source: trunk/test/Makefile.am @ 1412

Last change on this file since 1412 was 1318, checked in by sam, 10 years ago

test: add several unit tests for rotations with matrices and quaternions.

File size: 1.5 KB
RevLine 
[642]1
[1112]2SUBDIRS = math tutorial sandbox xolotl
[984]3
[642]4AM_CPPFLAGS = -I$(top_srcdir)/src
5
[942]6bench: benchsuite$(EXEEXT)
7        ./benchsuite$(EXEEXT)
[642]8
[945]9all-local: $(noinst_PROGRAMS)
[878]10        test x$(MAKE_FSELF) = xno || make_fself quad$(EXEEXT) quad.self
[942]11        test x$(MAKE_FSELF) = xno || make_fself benchsuite$(EXEEXT) benchsuite.self
12        test x$(MAKE_FSELF) = xno || make_fself testsuite$(EXEEXT) testsuite.self
[878]13
[951]14CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \
15             $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \
16             $(noinst_PROGRAMS:%$(EXEEXT)=%.exe)
[878]17
[978]18EXTRA_DIST = data/gradient.png
19
[1112]20noinst_PROGRAMS = quad benchsuite testsuite
[868]21
[942]22TESTS = testsuite
[642]23
[942]24testsuite_SOURCES = testsuite.cpp \
[1257]25    unit/vector.cpp unit/matrix.cpp unit/half.cpp unit/trig.cpp \
[1294]26    unit/build.cpp unit/real.cpp unit/image.cpp unit/quat.cpp unit/cmplx.cpp \
[1318]27    unit/array.cpp unit/rotation.cpp
[942]28testsuite_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
29testsuite_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
30testsuite_DEPENDENCIES = $(top_builddir)/src/liblol.a
[642]31
[942]32benchsuite_SOURCES = benchsuite.cpp \
[1139]33    benchmark/vector.cpp benchmark/half.cpp benchmark/trig.cpp \
[977]34    benchmark/real.cpp
[942]35benchsuite_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
36benchsuite_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
37benchsuite_DEPENDENCIES = $(top_builddir)/src/liblol.a
[868]38
[769]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.