From d8b6b98e3fc78168ef6e4336a71c3adad8fad402 Mon Sep 17 00:00:00 2001 From: gtrxAC <59177874+gtrxAC@users.noreply.github.com> Date: Thu, 20 Jan 2022 18:12:09 +0200 Subject: [PATCH] fix typos --- Working-for-Web-(HTML5).md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Working-for-Web-(HTML5).md b/Working-for-Web-(HTML5).md index 2a786dd..e559145 100644 --- a/Working-for-Web-(HTML5).md +++ b/Working-for-Web-(HTML5).md @@ -1,6 +1,6 @@ raylib C code can be compiled to [WebAssembly](https://en.wikipedia.org/wiki/WebAssembly) to run on Web. Compilation process is very similar to the one used for desktop platforms with `gcc` compiler but it requires a different toolchain: [emscripten SDK](https://emscripten.org/). -`emscripten` provides a set of tools to compile C code to WebAssembly, the main tool provided is the `emcc` compiler. `emcc` is actuallya direct replacement for `gcc`, so, anyone with experience compiling code directly in the command-line should not have much trouble to use `emcc`. +`emscripten` provides a set of tools to compile C code to WebAssembly, the main tool provided is the `emcc` compiler. `emcc` is actually a direct replacement for `gcc`, so, anyone with experience compiling code directly in the command-line should not have much trouble to use `emcc`. There are some additional compilation flags for `emcc` compilation and code linkage, so, a `Makefile` is provided in [`raylib/src/Makefile`](https://github.com/raysan5/raylib/blob/master/src/Makefile) to simplify the compilation process, it only requires defining `PLATFORM_WEB` to use the correct compilation flags. @@ -73,7 +73,7 @@ From command-line, the following line must be called: NOTE: `mingw32-make.exe` is provided by MinGW toolchain, other compiler toolchains could provide similar implementations, usually called just `make.exe`. In any case, `make` must be accessible from command-line to execute it. -If you are using the provided raylib installer with Notepad++, it comes with a Notepad++ script ready to compile raylib library using makefile, the script configures required paths and calls required `Makefile`. To do this, start up Notepad++ for raylib, open the `raylib.h` file, press F6, choose `raylib_makefile`, verify that in the script web platof is set (`SET PLATFORM=PLATFORM_WEB`) and click OK to run the script. +If you are using the provided raylib installer with Notepad++, it comes with a Notepad++ script ready to compile raylib library using makefile, the script configures required paths and calls required `Makefile`. To do this, start up Notepad++ for raylib, open the `raylib.h` file, press F6, choose `raylib_makefile`, verify that in the script the web platform is set (`SET PLATFORM=PLATFORM_WEB`) and click OK to run the script. * For Linux/macOS users :