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.
 
 
 

49 lines
1.6 KiB

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