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.
 
 
 

51 lines
1.7 KiB

  1. include $(top_srcdir)/build/autotools/common.am
  2. SUBDIRS = math sandbox xolotl
  3. AM_CPPFLAGS = -I$(top_srcdir)/src
  4. bench: benchsuite$(EXEEXT)
  5. ./benchsuite$(EXEEXT)
  6. EXTRA_DIST = data/gradient.png
  7. noinst_PROGRAMS = benchsuite $(testsuite) btphystest
  8. TESTS = $(testsuite)
  9. # Conditionally built for now because of STLport issues
  10. if !USE_ANDROID
  11. testsuite = testsuite
  12. endif
  13. testsuite_SOURCES = testsuite.cpp \
  14. unit/vector.cpp unit/matrix.cpp unit/half.cpp unit/trig.cpp \
  15. unit/build.cpp unit/real.cpp unit/image.cpp unit/quat.cpp unit/cmplx.cpp \
  16. unit/array.cpp unit/rotation.cpp
  17. testsuite_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
  18. testsuite_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
  19. testsuite_DEPENDENCIES = $(top_builddir)/src/liblol.a
  20. benchsuite_SOURCES = benchsuite.cpp \
  21. benchmark/vector.cpp benchmark/half.cpp benchmark/trig.cpp \
  22. benchmark/real.cpp
  23. benchsuite_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
  24. benchsuite_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
  25. benchsuite_DEPENDENCIES = $(top_builddir)/src/liblol.a
  26. btphystest_SOURCES = BtPhysTest.cpp BtPhysTest.h \
  27. Physics/Src/EasyPhysics.cpp Physics/Include/EasyPhysics.h \
  28. Physics/Include/LolBtPhysicsIntegration.h Physics/Include/LolPhysics.h \
  29. Physics/Src/EasyCharacterController.cpp \
  30. Physics/Include/EasyCharacterController.h \
  31. Physics/Src/EasyConstraint.cpp \
  32. Physics/Include/EasyConstraint.h \
  33. Physics/Src/BulletCharacterController.cpp \
  34. Physics/Include/BulletCharacterController.h
  35. btphystest_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@ -I$(top_builddir)/src/bullet \
  36. -DHAVE_PHYS_USE_BULLET
  37. btphystest_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
  38. btphystest_DEPENDENCIES = $(top_builddir)/src/liblol.a