source: trunk/test/Makefile.am @ 977

Last change on this file since 977 was 977, checked in by sam, 11 years ago

core: new benchmark snippet for operations on reals.

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