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.
 
 
 

58 lines
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/real.cpp
  19. benchsuite_CPPFLAGS = $(AM_CPPFLAGS)
  20. benchsuite_DEPENDENCIES = @LOL_DEPS@
  21. btphystest_SOURCES = \
  22. btphystest.cpp btphystest.h physicobject.h \
  23. physics/easyphysics.cpp physics/easyphysics.h \
  24. physics/lolbtphysicsintegration.h physics/lolphysics.h \
  25. physics/easycharactercontroller.cpp physics/easycharactercontroller.h \
  26. physics/easyconstraint.cpp physics/easyconstraint.h \
  27. physics/bulletcharactercontroller.cpp physics/bulletcharactercontroller.h \
  28. \
  29. front_camera_sprite.lolfx
  30. btphystest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/3rdparty/bullet3/src \
  31. -DHAVE_PHYS_USE_BULLET
  32. btphystest_DEPENDENCIES = @LOL_DEPS@ @LOL_BULLET_DEPS@
  33. btphystest_LDFLAGS = $(AM_LDFLAGS) @LOL_BULLET_DEPS@
  34. if LOL_USE_EMSCRIPTEN
  35. btphystest_LDFLAGS += \
  36. --preload-file data/CatsSheet.png \
  37. -s TOTAL_MEMORY=$(shell expr 32 '*' 1024 '*' 1024)
  38. endif
  39. nacl_phystest_SOURCES = \
  40. nacl_phystest.cpp nacl_phystest.h
  41. nacl_phystest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/3rdparty/bullet3/src \
  42. -DHAVE_PHYS_USE_BULLET
  43. nacl_phystest_DEPENDENCIES = @LOL_DEPS@
  44. nacl_phystest_LDFLAGS = $(AM_LDFLAGS)
  45. simplex_SOURCES = simplex.cpp
  46. simplex_CPPFLAGS = $(AM_CPPFLAGS)
  47. simplex_DEPENDENCIES = @LOL_DEPS@