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.

47 lines
1.4 KiB

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