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.
 
 
 

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