include $(top_srcdir)/build/autotools/common.am SUBDIRS = math meshviewer sandbox bench: benchsuite$(EXEEXT) ./benchsuite$(EXEEXT) if BUILD_SAMPLES noinst_PROGRAMS = bluenoise benchsuite simplex if LOL_USE_GL noinst_PROGRAMS += nacl_phystest if LOL_USE_BULLET noinst_PROGRAMS += btphystest endif endif endif bluenoise_SOURCES = bluenoise.cpp bluenoise_CPPFLAGS = $(AM_CPPFLAGS) bluenoise_DEPENDENCIES = @LOL_DEPS@ benchsuite_SOURCES = benchsuite.cpp \ benchmark/vector.cpp benchmark/half.cpp benchmark/real.cpp benchsuite_CPPFLAGS = $(AM_CPPFLAGS) benchsuite_DEPENDENCIES = @LOL_DEPS@ btphystest_SOURCES = \ btphystest.cpp btphystest.h physicobject.h \ physics/easyphysics.cpp physics/easyphysics.h \ physics/lolbtphysicsintegration.h physics/lolphysics.h \ physics/easycharactercontroller.cpp physics/easycharactercontroller.h \ physics/easyconstraint.cpp physics/easyconstraint.h \ physics/bulletcharactercontroller.cpp physics/bulletcharactercontroller.h \ \ front_camera_sprite.lolfx btphystest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/3rdparty/bullet3/src \ -DHAVE_PHYS_USE_BULLET btphystest_DEPENDENCIES = @LOL_DEPS@ @LOL_BULLET_DEPS@ btphystest_LDFLAGS = $(AM_LDFLAGS) @LOL_BULLET_DEPS@ if LOL_USE_EMSCRIPTEN btphystest_LDFLAGS += \ --preload-file data/CatsSheet.png \ -s TOTAL_MEMORY=$(shell expr 32 '*' 1024 '*' 1024) endif nacl_phystest_SOURCES = \ nacl_phystest.cpp nacl_phystest.h nacl_phystest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/3rdparty/bullet3/src \ -DHAVE_PHYS_USE_BULLET nacl_phystest_DEPENDENCIES = @LOL_DEPS@ nacl_phystest_LDFLAGS = $(AM_LDFLAGS) simplex_SOURCES = simplex.cpp simplex_CPPFLAGS = $(AM_CPPFLAGS) simplex_DEPENDENCIES = @LOL_DEPS@