From aca5bb7cd1577faa4985f04e974d13094f42a896 Mon Sep 17 00:00:00 2001 From: Sathyanarayanan Gunasekaran Date: Mon, 10 Jun 2019 16:42:16 -0700 Subject: [PATCH] Add build instructions for emscripten Fixes #1 --- README-emscripten.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 README-emscripten.txt diff --git a/README-emscripten.txt b/README-emscripten.txt new file mode 100644 index 00000000..d771799a --- /dev/null +++ b/README-emscripten.txt @@ -0,0 +1,14 @@ +Building SDL2_image +------------------- + +Step 0 - get emscripten + +Step 1 - get sdl2-emscripten +* clone https://github.com/gsathya/SDL-emscripten.git +* follow the build instructions in SDL-emscripten/README-emscripten.txt + +Step 2 - get sdl_image + * emconfigure ./configure --disable-sdltest --with-sdl-prefix=/path/to/sdl --prefix=/path/to/install + * emmake make + * make install +