source: trunk/test/Makefile.am @ 945

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

build: new lol-build script for easier autobuilds.

File size: 1.5 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:%=%.self) $(noinst_PROGRAMS:%=%.exe)
14
15noinst_PROGRAMS = quad sandbox benchsuite testsuite
16
17TESTS = testsuite
18
19testsuite_SOURCES = testsuite.cpp \
20    unit/matrix.cpp unit/half.cpp unit/trig.cpp unit/build.cpp
21testsuite_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
22testsuite_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
23testsuite_DEPENDENCIES = $(top_builddir)/src/liblol.a
24
25benchsuite_SOURCES = benchsuite.cpp \
26    benchmark/matrix.cpp benchmark/half.cpp benchmark/trig.cpp
27benchsuite_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
28benchsuite_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
29benchsuite_DEPENDENCIES = $(top_builddir)/src/liblol.a
30
31quad_SOURCES = debug/quad.cpp
32quad_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
33quad_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
34quad_DEPENDENCIES = $(top_builddir)/src/liblol.a
35
36sandbox_SOURCES = debug/sandbox.cpp
37sandbox_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
38sandbox_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
39sandbox_DEPENDENCIES = $(top_builddir)/src/liblol.a
40
Note: See TracBrowser for help on using the repository browser.