25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

61 lines
1.9 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. simplex
  7. benchsuite_SOURCES = benchsuite.cpp \
  8. benchmark/vector.cpp benchmark/half.cpp benchmark/trig.cpp \
  9. benchmark/real.cpp
  10. benchsuite_CPPFLAGS = $(AM_CPPFLAGS)
  11. benchsuite_DEPENDENCIES = @LOL_DEPS@
  12. btphystest_SOURCES = \
  13. btphystest.cpp btphystest.h physicobject.h \
  14. physics/easyphysics.cpp physics/easyphysics.h \
  15. physics/lolbtphysicsintegration.h physics/lolphysics.h \
  16. physics/easycharactercontroller.cpp physics/easycharactercontroller.h \
  17. physics/easyconstraint.cpp physics/easyconstraint.h \
  18. physics/bulletcharactercontroller.cpp physics/bulletcharactercontroller.h \
  19. \
  20. front_camera_sprite.lolfx
  21. btphystest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/bullet \
  22. -DHAVE_PHYS_USE_BULLET
  23. btphystest_DEPENDENCIES = @LOL_DEPS@
  24. btphystest_LDFLAGS = $(AM_LDFLAGS)
  25. if USE_EMSCRIPTEN
  26. btphystest_LDFLAGS += \
  27. --preload-file data/CatsSheet.png \
  28. -s TOTAL_MEMORY=$(shell expr 32 '*' 1024 '*' 1024)
  29. endif
  30. nacl_phystest_SOURCES = \
  31. nacl_phystest.cpp nacl_phystest.h
  32. nacl_phystest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/bullet \
  33. -DHAVE_PHYS_USE_BULLET
  34. nacl_phystest_DEPENDENCIES = @LOL_DEPS@
  35. nacl_phystest_LDFLAGS = $(AM_LDFLAGS)
  36. meshviewer_SOURCES = meshviewer.cpp \
  37. shinymvtexture.lolfx shinyfur.lolfx \
  38. scenesetup.cpp scenesetup.h \
  39. scenesetup-compiler.cpp scenesetup-compiler.h \
  40. generated/scenesetup-scanner.cpp generated/scenesetup-scanner.h \
  41. generated/scenesetup-parser.cpp
  42. meshviewer_CPPFLAGS = $(AM_CPPFLAGS)
  43. meshviewer_DEPENDENCIES = @LOL_DEPS@
  44. meshviewer_LDFLAGS = $(AM_LDFLAGS)
  45. if USE_EMSCRIPTEN
  46. meshviewer_LDFLAGS += -s EXPORTED_FUNCTIONS="['_main', '_C_Send']"
  47. endif
  48. simplex_SOURCES = simplex.cpp
  49. simplex_CPPFLAGS = $(AM_CPPFLAGS)
  50. simplex_DEPENDENCIES = @LOL_DEPS@