Renamed README-emscripten.txt to README-emscripten.md.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
diff --git a/docs/README-emscripten.md b/docs/README-emscripten.md
new file mode 100644
index 0000000..8ca197c
--- /dev/null
+++ b/docs/README-emscripten.md
@@ -0,0 +1,26 @@
+Build:
+$ emconfigure ./configure --host=asmjs-unknown-emscripten --disable-assembly --disable-threads --enable-cpuinfo=false CFLAGS="-O2"
+$ emmake make
+
+Or with cmake:
+$ emconfigure cmake ..
+$ make
+
+To build one of the tests:
+$ cd test/
+$ emcc -O2 --js-opts 0 -g4 testdraw2.c -I../include ../build/.libs/libSDL2.a ../build/libSDL2_test.a -o a.html
+
+Uses GLES2 renderer or software
+
+tests: https://dl.dropboxusercontent.com/u/17360362/SDL2-em/index.html
+
+Some other SDL2 libraries can be easily built (assuming SDL2 is installed somewhere):
+
+SDL_mixer (http://www.libsdl.org/projects/SDL_mixer/)
+ $ EMCONFIGURE_JS=1 emconfigure ../configure
+ build as usual...
+
+SDL_gfx (http://cms.ferzkopp.net/index.php/software/13-sdl-gfx):
+ $ EMCONFIGURE_JS=1 emconfigure ../configure --disable-mmx
+ build as usual...
+
diff --git a/docs/README-emscripten.txt b/docs/README-emscripten.txt
deleted file mode 100644
index 8ca197c..0000000
--- a/docs/README-emscripten.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-Build:
-$ emconfigure ./configure --host=asmjs-unknown-emscripten --disable-assembly --disable-threads --enable-cpuinfo=false CFLAGS="-O2"
-$ emmake make
-
-Or with cmake:
-$ emconfigure cmake ..
-$ make
-
-To build one of the tests:
-$ cd test/
-$ emcc -O2 --js-opts 0 -g4 testdraw2.c -I../include ../build/.libs/libSDL2.a ../build/libSDL2_test.a -o a.html
-
-Uses GLES2 renderer or software
-
-tests: https://dl.dropboxusercontent.com/u/17360362/SDL2-em/index.html
-
-Some other SDL2 libraries can be easily built (assuming SDL2 is installed somewhere):
-
-SDL_mixer (http://www.libsdl.org/projects/SDL_mixer/)
- $ EMCONFIGURE_JS=1 emconfigure ../configure
- build as usual...
-
-SDL_gfx (http://cms.ferzkopp.net/index.php/software/13-sdl-gfx):
- $ EMCONFIGURE_JS=1 emconfigure ../configure --disable-mmx
- build as usual...
-