Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

59 rader
1.7 KiB

  1. include $(top_srcdir)/build/autotools/common.am
  2. SUBDIRS = math meshviewer sandbox
  3. bench: benchsuite$(EXEEXT)
  4. ./benchsuite$(EXEEXT)
  5. if BUILD_SAMPLES
  6. noinst_PROGRAMS = bluenoise benchsuite simplex
  7. if LOL_USE_GL
  8. noinst_PROGRAMS += nacl_phystest
  9. if LOL_USE_BULLET
  10. noinst_PROGRAMS += btphystest
  11. endif
  12. endif
  13. endif
  14. bluenoise_SOURCES = bluenoise.cpp
  15. bluenoise_CPPFLAGS = $(AM_CPPFLAGS)
  16. bluenoise_DEPENDENCIES = @LOL_DEPS@
  17. benchsuite_SOURCES = benchsuite.cpp \
  18. benchmark/vector.cpp benchmark/half.cpp benchmark/trig.cpp \
  19. benchmark/real.cpp
  20. benchsuite_CPPFLAGS = $(AM_CPPFLAGS)
  21. benchsuite_DEPENDENCIES = @LOL_DEPS@
  22. btphystest_SOURCES = \
  23. btphystest.cpp btphystest.h physicobject.h \
  24. physics/easyphysics.cpp physics/easyphysics.h \
  25. physics/lolbtphysicsintegration.h physics/lolphysics.h \
  26. physics/easycharactercontroller.cpp physics/easycharactercontroller.h \
  27. physics/easyconstraint.cpp physics/easyconstraint.h \
  28. physics/bulletcharactercontroller.cpp physics/bulletcharactercontroller.h \
  29. \
  30. front_camera_sprite.lolfx
  31. btphystest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/3rdparty/bullet3/src \
  32. -DHAVE_PHYS_USE_BULLET
  33. btphystest_DEPENDENCIES = @LOL_DEPS@ @LOL_BULLET_DEPS@
  34. btphystest_LDFLAGS = $(AM_LDFLAGS) @LOL_BULLET_DEPS@
  35. if LOL_USE_EMSCRIPTEN
  36. btphystest_LDFLAGS += \
  37. --preload-file data/CatsSheet.png \
  38. -s TOTAL_MEMORY=$(shell expr 32 '*' 1024 '*' 1024)
  39. endif
  40. nacl_phystest_SOURCES = \
  41. nacl_phystest.cpp nacl_phystest.h
  42. nacl_phystest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/3rdparty/bullet3/src \
  43. -DHAVE_PHYS_USE_BULLET
  44. nacl_phystest_DEPENDENCIES = @LOL_DEPS@
  45. nacl_phystest_LDFLAGS = $(AM_LDFLAGS)
  46. simplex_SOURCES = simplex.cpp
  47. simplex_CPPFLAGS = $(AM_CPPFLAGS)
  48. simplex_DEPENDENCIES = @LOL_DEPS@