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.
 
 
 

56 lines
1.8 KiB

  1. include $(top_srcdir)/build/autotools/common.am
  2. SUBDIRS = math sandbox
  3. bench: benchsuite$(EXEEXT)
  4. ./benchsuite$(EXEEXT)
  5. noinst_PROGRAMS = benchsuite btphystest nacl_phystest meshviewer
  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. meshviewer_SOURCES = meshviewer.cpp \
  36. shinymvtexture.lolfx shinyfur.lolfx \
  37. scenesetup.cpp scenesetup.h \
  38. scenesetup-compiler.cpp scenesetup-compiler.h \
  39. generated/scenesetup-scanner.cpp generated/scenesetup-scanner.h \
  40. generated/scenesetup-parser.cpp
  41. meshviewer_CPPFLAGS = $(AM_CPPFLAGS)
  42. meshviewer_DEPENDENCIES = @LOL_DEPS@
  43. meshviewer_LDFLAGS = $(AM_LDFLAGS)
  44. if USE_EMSCRIPTEN
  45. meshviewer_LDFLAGS += -s EXPORTED_FUNCTIONS="['_main', '_C_Send']"
  46. endif