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.
 
 
 

38 lines
1.1 KiB

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