Browse Source

build: more emscripten build fixes.

undefined
Sam Hocevar 11 years ago
parent
commit
07fc08c198
2 changed files with 3 additions and 2 deletions
  1. +2
    -1
      test/Makefile.am
  2. +1
    -1
      test/btphystest.cpp

+ 2
- 1
test/Makefile.am View File

@@ -43,8 +43,9 @@ btphystest_SOURCES = \
btphystest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/bullet \ btphystest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/bullet \
-DHAVE_PHYS_USE_BULLET -DHAVE_PHYS_USE_BULLET
btphystest_DEPENDENCIES = @LOL_DEPS@ btphystest_DEPENDENCIES = @LOL_DEPS@
btphystest_LDFLAGS = $(AM_LDFLAGS)
if USE_EMSCRIPTEN if USE_EMSCRIPTEN
btphystest_LDFLAGS = --preload-file data/CatsSheet.png
btphystest_LDFLAGS += --preload-file data
endif endif


meshviewer_SOURCES = meshviewer.cpp \ meshviewer_SOURCES = meshviewer.cpp \


+ 1
- 1
test/btphystest.cpp View File

@@ -21,7 +21,7 @@ using namespace lol;
#include "physics/lolphysics.h" #include "physics/lolphysics.h"
#include "physics/easyphysics.h" #include "physics/easyphysics.h"


#define CAT_MODE 0
#define CAT_MODE 1
#define OBJ_SIZE 2.f #define OBJ_SIZE 2.f
#include "physicobject.h" #include "physicobject.h"




Loading…
Cancel
Save