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.
 
 
 

49 line
1.5 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 = benchsuite btphystest nacl_phystest simplex
  7. endif
  8. benchsuite_SOURCES = benchsuite.cpp \
  9. benchmark/vector.cpp benchmark/half.cpp benchmark/trig.cpp \
  10. benchmark/real.cpp
  11. benchsuite_CPPFLAGS = $(AM_CPPFLAGS)
  12. benchsuite_DEPENDENCIES = @LOL_DEPS@
  13. btphystest_SOURCES = \
  14. btphystest.cpp btphystest.h physicobject.h \
  15. physics/easyphysics.cpp physics/easyphysics.h \
  16. physics/lolbtphysicsintegration.h physics/lolphysics.h \
  17. physics/easycharactercontroller.cpp physics/easycharactercontroller.h \
  18. physics/easyconstraint.cpp physics/easyconstraint.h \
  19. physics/bulletcharactercontroller.cpp physics/bulletcharactercontroller.h \
  20. \
  21. front_camera_sprite.lolfx
  22. btphystest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/3rdparty/bullet3/src \
  23. -DHAVE_PHYS_USE_BULLET
  24. btphystest_DEPENDENCIES = @LOL_DEPS@
  25. btphystest_LDFLAGS = $(AM_LDFLAGS)
  26. if LOL_USE_EMSCRIPTEN
  27. btphystest_LDFLAGS += \
  28. --preload-file data/CatsSheet.png \
  29. -s TOTAL_MEMORY=$(shell expr 32 '*' 1024 '*' 1024)
  30. endif
  31. nacl_phystest_SOURCES = \
  32. nacl_phystest.cpp nacl_phystest.h
  33. nacl_phystest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/3rdparty/bullet3/src \
  34. -DHAVE_PHYS_USE_BULLET
  35. nacl_phystest_DEPENDENCIES = @LOL_DEPS@
  36. nacl_phystest_LDFLAGS = $(AM_LDFLAGS)
  37. simplex_SOURCES = simplex.cpp
  38. simplex_CPPFLAGS = $(AM_CPPFLAGS)
  39. simplex_DEPENDENCIES = @LOL_DEPS@