mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-01 11:49:17 -05:00
Add notice about minshell.html as it is not previously mentioned
@ -188,6 +188,8 @@ raylib examples [`Makefile`](https://github.com/raysan5/raylib/blob/master/examp
|
|||||||
|
|
||||||
To compile raylib game directly from the command line, those are the commands to run:
|
To compile raylib game directly from the command line, those are the commands to run:
|
||||||
|
|
||||||
|
> NOTE: in `/raylib/src/` there is a file called `minshell.html` which is the recommended shell file for Raylib applications. So you may pass `--shell-file $HOME/raylib/src/minshell.html` to `emcc` if you had Raylib in your home directory.
|
||||||
|
|
||||||
* Without `ASYNCIFY`
|
* Without `ASYNCIFY`
|
||||||
```
|
```
|
||||||
emcc -o game.html game.c -Os -Wall ./path-to/libraylib.a -I. -Ipath-to-raylib-h -L. -Lpath-to-libraylib-a -s USE_GLFW=3 --shell-file path-to/shell.html -DPLATFORM_WEB
|
emcc -o game.html game.c -Os -Wall ./path-to/libraylib.a -I. -Ipath-to-raylib-h -L. -Lpath-to-libraylib-a -s USE_GLFW=3 --shell-file path-to/shell.html -DPLATFORM_WEB
|
||||||
|
|||||||
Reference in New Issue
Block a user