source: trunk/test/Makefile.am @ 1847

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

debug: get rid of quad.cpp, it's become useless.

File size: 2.0 KB
Line 
1
2SUBDIRS = math sandbox xolotl
3
4AM_CPPFLAGS = -I$(top_srcdir)/src
5
6bench: benchsuite$(EXEEXT)
7        ./benchsuite$(EXEEXT)
8
9all-local: $(PROGRAMS) $(noinst_PROGRAMS)
10        for x in $(^:%$(EXEEXT)=%); do \
11          test x$(MAKE_FSELF) = xno || make_fself $${x}$(EXEEXT) $${x}.self; \
12        done
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 = benchsuite $(testsuite) btphystest
21
22TESTS = $(testsuite)
23
24# Conditionally built for now because of STLport issues
25if !USE_ANDROID
26testsuite = testsuite
27endif
28
29testsuite_SOURCES = testsuite.cpp \
30    unit/vector.cpp unit/matrix.cpp unit/half.cpp unit/trig.cpp \
31    unit/build.cpp unit/real.cpp unit/image.cpp unit/quat.cpp unit/cmplx.cpp \
32    unit/array.cpp unit/rotation.cpp
33testsuite_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
34testsuite_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
35testsuite_DEPENDENCIES = $(top_builddir)/src/liblol.a
36
37benchsuite_SOURCES = benchsuite.cpp \
38    benchmark/vector.cpp benchmark/half.cpp benchmark/trig.cpp \
39    benchmark/real.cpp
40benchsuite_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
41benchsuite_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
42benchsuite_DEPENDENCIES = $(top_builddir)/src/liblol.a
43
44btphystest_SOURCES = BtPhysTest.cpp BtPhysTest.h \
45    Physics/Src/EasyPhysics.cpp Physics/Include/EasyPhysics.h \
46    Physics/Include/LolBtPhysicsIntegration.h Physics/Include/LolPhysics.h \
47    Physics/Src/EasyCharacterController.cpp Physics/Src/EasyConstraint.cpp \
48        Physics/Src/BulletCharacterController.cpp \
49    Physics/Include/EasyCharacterController.h Physics/Include/EasyConstraint.h \
50        Physics/Src/BulletCharacterController.h
51btphystest_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@ -I$(top_builddir)/src/bullet \
52    -DHAVE_PHYS_USE_BULLET
53btphystest_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
54btphystest_DEPENDENCIES = $(top_builddir)/src/liblol.a
55
Note: See TracBrowser for help on using the repository browser.