source: trunk/test/Makefile.am @ 893

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

test: add an empty sandbox program and update .gitignore.

File size: 1.4 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 sandbox$(EXEEXT) sandbox.self
14        test x$(MAKE_FSELF) = xno || make_fself lol-bench$(EXEEXT) lol-bench.self
15
16CLEANFILES = quad.self sandbox lol-bench.self
17
18noinst_PROGRAMS = quad sandbox lol-bench $(cppunit_tests)
19
20TESTS = $(cppunit_tests)
21
22lol_test_SOURCES = lol-test.cpp matrix.cpp half.cpp trig.cpp
23lol_test_CXXFLAGS = $(CPPUNIT_CFLAGS)
24lol_test_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
25lol_test_LDADD = $(CPPUNIT_LIBS)
26lol_test_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
27lol_test_DEPENDENCIES = $(top_builddir)/src/liblol.a
28
29lol_bench_SOURCES = lol-bench.cpp
30lol_bench_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
31lol_bench_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
32lol_bench_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.