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.
 
 
 

61 lines
2.1 KiB

  1. SUBDIRS = math sandbox xolotl
  2. AM_CPPFLAGS = -I$(top_srcdir)/src
  3. bench: benchsuite$(EXEEXT)
  4. ./benchsuite$(EXEEXT)
  5. all-local: $(PROGRAMS) $(noinst_PROGRAMS)
  6. for x in $(^:%$(EXEEXT)=%); do \
  7. test x$(MAKE_FSELF) = xno || make_fself $${x}$(EXEEXT) $${x}.self; \
  8. done
  9. CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \
  10. $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \
  11. $(noinst_PROGRAMS:%$(EXEEXT)=%.exe)
  12. EXTRA_DIST = data/gradient.png
  13. noinst_PROGRAMS = quad benchsuite $(testsuite) btphystest
  14. TESTS = $(testsuite)
  15. # Conditionally built for now because of STLport issues
  16. if !USE_ANDROID
  17. testsuite = testsuite
  18. endif
  19. testsuite_SOURCES = testsuite.cpp \
  20. unit/vector.cpp unit/matrix.cpp unit/half.cpp unit/trig.cpp \
  21. unit/build.cpp unit/real.cpp unit/image.cpp unit/quat.cpp unit/cmplx.cpp \
  22. unit/array.cpp unit/rotation.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
  26. benchsuite_SOURCES = benchsuite.cpp \
  27. benchmark/vector.cpp benchmark/half.cpp benchmark/trig.cpp \
  28. benchmark/real.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
  32. quad_SOURCES = debug/quad.cpp
  33. quad_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
  34. quad_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
  35. quad_DEPENDENCIES = $(top_builddir)/src/liblol.a
  36. btphystest_SOURCES = BtPhysTest.cpp BtPhysTest.h \
  37. Physics/Src/EasyPhysics.cpp Physics/Include/EasyPhysics.h \
  38. Physics/Include/LolBtPhysicsIntegration.h Physics/Include/LolPhysics.h \
  39. Physics/Src/EasyCharacterController.cpp Physics/Src/EasyConstraint.cpp \
  40. Physics/Src/BulletCharacterController.cpp \
  41. Physics/Include/EasyCharacterController.h Physics/Include/EasyConstraint.h \
  42. Physics/Src/BulletCharacterController.h
  43. btphystest_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@ -I$(top_builddir)/src/bullet \
  44. -DHAVE_PHYS_USE_BULLET
  45. btphystest_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
  46. btphystest_DEPENDENCIES = $(top_builddir)/src/liblol.a