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.
 
 
 

44 lines
1.4 KiB

  1. AM_CPPFLAGS = -I$(top_srcdir)/src
  2. if USE_CPPUNIT
  3. cppunit_tests = lol-test
  4. endif
  5. bench: lol-bench$(EXEEXT)
  6. ./lol-bench$(EXEEXT)
  7. all-local: quad$(EXEEXT) lol-bench$(EXEEXT)
  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 lol-bench$(EXEEXT) lol-bench.self
  11. CLEANFILES = quad.self sandbox lol-bench.self
  12. noinst_PROGRAMS = quad sandbox lol-bench $(cppunit_tests)
  13. TESTS = $(cppunit_tests)
  14. lol_test_SOURCES = lol-test.cpp matrix.cpp half.cpp trig.cpp
  15. lol_test_CXXFLAGS = $(CPPUNIT_CFLAGS)
  16. lol_test_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
  17. lol_test_LDADD = $(CPPUNIT_LIBS)
  18. lol_test_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
  19. lol_test_DEPENDENCIES = $(top_builddir)/src/liblol.a
  20. lol_bench_SOURCES = lol-bench.cpp
  21. lol_bench_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
  22. lol_bench_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
  23. lol_bench_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