Updated Working for Web (HTML5) (markdown)

master
gtrxAC 3 years ago
parent
commit
e331689959
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      Working-for-Web-(HTML5).md

+ 4
- 0
Working-for-Web-(HTML5).md

@ -57,6 +57,8 @@ After the path configuration, just execute the following command:
`make PLATFORM=PLATFORM_WEB -B`
_If you get "emcc: command not found" or a similar error when running `make` but the paths are correct, add `-e` to the end of the make command._
Generated `libraylib.a` is placed in `raylib\src\libraylib.a` directory.
#### Using CMake
@ -135,6 +137,8 @@ Once `Makefile` has been reviewed, to compile raylib source code, just execute t
make PLATFORM=PLATFORM_WEB -B
_If you get "emcc: command not found" or a similar error when running `make` but the paths are correct, add `-e` to the end of the make command._
_Note that required resources should be embedded into a `.data` file using the compiler parameter `--preload-file filename.ext` or `--preload-file folder` (already configured in the `Makefile` to use `resources` directory)._
Compilation will generate several output files:

Loading…
Cancel
Save