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.

57 lines
1.9 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 meshviewer
  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 unit/string.cpp unit/map.cpp \
  17. unit/color.cpp unit/atomic.cpp
  18. testsuite_CPPFLAGS = @LOL_CFLAGS@
  19. testsuite_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@
  20. testsuite_DEPENDENCIES = $(top_builddir)/src/liblol.a
  21. benchsuite_SOURCES = benchsuite.cpp \
  22. benchmark/vector.cpp benchmark/half.cpp benchmark/trig.cpp \
  23. benchmark/real.cpp
  24. benchsuite_CPPFLAGS = @LOL_CFLAGS@
  25. benchsuite_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@
  26. benchsuite_DEPENDENCIES = $(top_builddir)/src/liblol.a
  27. btphystest_SOURCES = BtPhysTest.cpp BtPhysTest.h PhysicObject.h \
  28. Physics/Src/EasyPhysics.cpp Physics/Include/EasyPhysics.h \
  29. Physics/Include/LolBtPhysicsIntegration.h Physics/Include/LolPhysics.h \
  30. Physics/Src/EasyCharacterController.cpp \
  31. Physics/Include/EasyCharacterController.h \
  32. Physics/Src/EasyConstraint.cpp \
  33. Physics/Include/EasyConstraint.h \
  34. Physics/Src/BulletCharacterController.cpp \
  35. Physics/Include/BulletCharacterController.h
  36. btphystest_CPPFLAGS = @LOL_CFLAGS@ -I$(top_srcdir)/src/bullet \
  37. -DHAVE_PHYS_USE_BULLET
  38. btphystest_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@
  39. btphystest_DEPENDENCIES = $(top_builddir)/src/liblol.a
  40. meshviewer_SOURCES = MeshViewer.cpp
  41. meshviewer_CPPFLAGS = @LOL_CFLAGS@
  42. meshviewer_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@
  43. meshviewer_DEPENDENCIES = $(top_builddir)/src/liblol.a