Comment fixes and alternative compile options (disabled) for emscripten in Makefile.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@5410 dfc29bdd-3216-0410-991c-e03cc46cb475
master
cutealien 2017-04-11 16:28:57 +00:00
parent 41c8c32435
commit b6c2514cfb
2 changed files with 2 additions and 4 deletions

View File

@ -41,6 +41,7 @@ all_emscripten clean_emscripten: SUF=.html
all_emscripten: CXXFLAGS += -fno-exceptions -fno-rtti -fstrict-aliasing -std=gnu++11 -U__STRICT_ANSI__
all_emscripten: CXXFLAGS += -D_IRR_LINUX_PLATFORM_
all_emscripten: LDFLAGS += -lGLESv2 -s FULL_ES2=1 -lSDL --preload-file ../../media@/media -s ALLOW_MEMORY_GROWTH=1
#all_emscripten: LDFLAGS += -lGL -lSDL --preload-file ../../media@/media -s ALLOW_MEMORY_GROWTH=1
static_win32: CPPFLAGS += -D_IRR_STATIC_LIB_
all_win32: LDFLAGS += -lopengl32 -lEGL -lGLESv1_CM -lGLESv2 -lm
static_win32: LDFLAGS += -lgdi32 -lwinspool -lcomdlg32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32 -lopengl32 -lEGL -lGLESv1_CM -lGLESv2

View File

@ -1,4 +1,4 @@
emscripten is a project to compile c/c++ code int the asm.js format which can be run in some browsers.
Emscripten is a project to compile c/c++ code int the asm.js format which can be run in some browsers.
See http://kripken.github.io/emscripten-site for more information.
emscripten support for Irrlicht is a work in process. Use at your own risk.
@ -14,9 +14,6 @@ BUILDING Irrlicht & your App
----------------------------
Linux:
Modify IrrCompileConfig.h and in the __EMSCRIPTEN__ section enable the line with _IRR_LINUX_PLATFORM_ marked as 'hack'
(we'll improve that in future).
Go into source/Irrlicht folder and call:
emmake make emscripten