You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

43 lines
1.5 KiB

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