25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

58 lines
1.8 KiB

  1. include $(top_srcdir)/build/autotools/common.am
  2. SUBDIRS = math sandbox xolotl
  3. bench: benchsuite$(EXEEXT)
  4. ./benchsuite$(EXEEXT)
  5. noinst_PROGRAMS = benchsuite $(testsuite) btphystest meshviewer
  6. TESTS = $(testsuite)
  7. # Conditionally built for now because of STLport issues
  8. if !USE_ANDROID
  9. testsuite = testsuite
  10. endif
  11. testsuite_SOURCES = testsuite.cpp \
  12. unit/vector.cpp unit/matrix.cpp unit/half.cpp unit/trig.cpp \
  13. unit/build.cpp unit/real.cpp unit/image.cpp unit/quat.cpp unit/cmplx.cpp \
  14. unit/array.cpp unit/rotation.cpp unit/string.cpp unit/map.cpp \
  15. unit/color.cpp unit/atomic.cpp unit/interp.cpp unit/box.cpp \
  16. unit/rand.cpp unit/thread.cpp unit/camera.cpp
  17. testsuite_CPPFLAGS = $(AM_CPPFLAGS)
  18. testsuite_DEPENDENCIES = @LOL_DEPS@
  19. noinst_DATA = data/gradient.png
  20. benchsuite_SOURCES = benchsuite.cpp \
  21. benchmark/vector.cpp benchmark/half.cpp benchmark/trig.cpp \
  22. benchmark/real.cpp
  23. benchsuite_CPPFLAGS = $(AM_CPPFLAGS)
  24. benchsuite_DEPENDENCIES = @LOL_DEPS@
  25. btphystest_SOURCES = \
  26. btphystest.cpp btphystest.h physicobject.h \
  27. physics/easyphysics.cpp physics/easyphysics.h \
  28. physics/lolbtphysicsintegration.h physics/lolphysics.h \
  29. physics/easycharactercontroller.cpp physics/easycharactercontroller.h \
  30. physics/easyconstraint.cpp physics/easyconstraint.h \
  31. physics/bulletcharactercontroller.cpp physics/bulletcharactercontroller.h \
  32. \
  33. front_camera_sprite.lolfx
  34. btphystest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/bullet \
  35. -DHAVE_PHYS_USE_BULLET
  36. btphystest_DEPENDENCIES = @LOL_DEPS@
  37. btphystest_LDFLAGS = $(AM_LDFLAGS)
  38. if USE_EMSCRIPTEN
  39. btphystest_LDFLAGS += \
  40. --preload-file data/CatsSheet.png \
  41. -s TOTAL_MEMORY=$(shell expr 32 '*' 1024 '*' 1024)
  42. endif
  43. meshviewer_SOURCES = meshviewer.cpp \
  44. shinymvtexture.lolfx shinyfur.lolfx
  45. meshviewer_CPPFLAGS = $(AM_CPPFLAGS)
  46. meshviewer_DEPENDENCIES = @LOL_DEPS@