source: trunk/test/Makefile.am @ 1571

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

test: activate the Bullet Physics test on all Unix platforms.

File size: 1.7 KB
Line 
1
2SUBDIRS = math 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 btphystest
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 unit/rotation.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
44btphystest_SOURCES = BtPhysTest.cpp BtPhysTest.h
45btphystest_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@ -I$(top_builddir)/src/bullet
46btphystest_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
47btphystest_DEPENDENCIES = $(top_builddir)/src/liblol.a
48
Note: See TracBrowser for help on using the repository browser.