source: trunk/test/Makefile.am @ 889

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

test: new test for trigonometric functions.

File size: 1.1 KB
Line 
1
2AM_CPPFLAGS = -I$(top_srcdir)/src
3
4if USE_CPPUNIT
5cppunit_tests = lol-test
6endif
7
8bench: lol-bench
9        ./lol-bench
10
11all-local: quad$(EXEEXT) lol-bench$(EXEEXT)
12        test x$(MAKE_FSELF) = xno || make_fself quad$(EXEEXT) quad.self
13        test x$(MAKE_FSELF) = xno || make_fself lol-bench$(EXEEXT) lol-bench.self
14
15CLEANFILES = quad.self lol-bench.self
16
17noinst_PROGRAMS = quad lol-bench $(cppunit_tests)
18
19TESTS = $(cppunit_tests)
20
21lol_test_SOURCES = lol-test.cpp matrix.cpp half.cpp trig.cpp
22lol_test_CXXFLAGS = $(CPPUNIT_CFLAGS)
23lol_test_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
24lol_test_LDADD = $(CPPUNIT_LIBS)
25lol_test_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
26lol_test_DEPENDENCIES = $(top_builddir)/src/liblol.a
27
28lol_bench_SOURCES = lol-bench.cpp
29lol_bench_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
30lol_bench_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
31lol_bench_DEPENDENCIES = $(top_builddir)/src/liblol.a
32
33quad_SOURCES = debug/quad.cpp
34quad_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
35quad_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
36quad_DEPENDENCIES = $(top_builddir)/src/liblol.a
37
Note: See TracBrowser for help on using the repository browser.