[642] | 1 | |
---|
| 2 | AM_CPPFLAGS = -I$(top_srcdir)/src |
---|
| 3 | |
---|
[942] | 4 | bench: benchsuite$(EXEEXT) |
---|
| 5 | ./benchsuite$(EXEEXT) |
---|
[642] | 6 | |
---|
[942] | 7 | all-local: quad$(EXEEXT) benchsuite$(EXEEXT) |
---|
[878] | 8 | test x$(MAKE_FSELF) = xno || make_fself quad$(EXEEXT) quad.self |
---|
[893] | 9 | test x$(MAKE_FSELF) = xno || make_fself sandbox$(EXEEXT) sandbox.self |
---|
[942] | 10 | test x$(MAKE_FSELF) = xno || make_fself benchsuite$(EXEEXT) benchsuite.self |
---|
| 11 | test x$(MAKE_FSELF) = xno || make_fself testsuite$(EXEEXT) testsuite.self |
---|
[878] | 12 | |
---|
[942] | 13 | CLEANFILES = $(noinst_PROGRAMS:%=%.self) $(noinst_PROGRAMS:%=%.exe) |
---|
| 14 | #quad.self sandbox.self benchsuite.self testsuite.self \ |
---|
| 15 | # quad.exe sandbox.exe benchsuite.exe testsuite.exe |
---|
[878] | 16 | |
---|
[942] | 17 | noinst_PROGRAMS = quad sandbox benchsuite testsuite |
---|
[868] | 18 | |
---|
[942] | 19 | TESTS = testsuite |
---|
[642] | 20 | |
---|
[942] | 21 | testsuite_SOURCES = testsuite.cpp \ |
---|
| 22 | unit/matrix.cpp unit/half.cpp unit/trig.cpp unit/build.cpp |
---|
| 23 | testsuite_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@ |
---|
| 24 | testsuite_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@ |
---|
| 25 | testsuite_DEPENDENCIES = $(top_builddir)/src/liblol.a |
---|
[642] | 26 | |
---|
[942] | 27 | benchsuite_SOURCES = benchsuite.cpp \ |
---|
| 28 | benchmark/matrix.cpp benchmark/half.cpp benchmark/trig.cpp |
---|
| 29 | benchsuite_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@ |
---|
| 30 | benchsuite_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@ |
---|
| 31 | benchsuite_DEPENDENCIES = $(top_builddir)/src/liblol.a |
---|
[868] | 32 | |
---|
[769] | 33 | quad_SOURCES = debug/quad.cpp |
---|
| 34 | quad_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@ |
---|
| 35 | quad_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@ |
---|
| 36 | quad_DEPENDENCIES = $(top_builddir)/src/liblol.a |
---|
| 37 | |
---|
[893] | 38 | sandbox_SOURCES = debug/sandbox.cpp |
---|
| 39 | sandbox_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@ |
---|
| 40 | sandbox_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@ |
---|
| 41 | sandbox_DEPENDENCIES = $(top_builddir)/src/liblol.a |
---|
| 42 | |
---|