diff options
| author | LLLL Colonq <llll@colonq> | 2026-05-28 20:16:38 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-05-28 20:16:38 -0400 |
| commit | fa4d63110a3e12d0242b6e6ddcded74d04480f28 (patch) | |
| tree | 330e6ccfe650f1fd9143f9db67b481d4c74a2e05 /2026/examples/raylib/build_raylib.sh | |
Initial commit
Diffstat (limited to '2026/examples/raylib/build_raylib.sh')
| -rwxr-xr-x | 2026/examples/raylib/build_raylib.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/2026/examples/raylib/build_raylib.sh b/2026/examples/raylib/build_raylib.sh new file mode 100755 index 0000000..71aa025 --- /dev/null +++ b/2026/examples/raylib/build_raylib.sh @@ -0,0 +1,11 @@ +#!/bin/sh +cd raylib/src/ +emcc -c rcore.c -Os -Wall -DPLATFORM_WEB -DGRAPHICS_API_OPENGL_ES2 +emcc -c rshapes.c -Os -Wall -DPLATFORM_WEB -DGRAPHICS_API_OPENGL_ES2 +emcc -c rtextures.c -Os -Wall -DPLATFORM_WEB -DGRAPHICS_API_OPENGL_ES2 +emcc -c rtext.c -Os -Wall -DPLATFORM_WEB -DGRAPHICS_API_OPENGL_ES2 +emcc -c rmodels.c -Os -Wall -DPLATFORM_WEB -DGRAPHICS_API_OPENGL_ES2 +emcc -c raudio.c -Os -Wall -DPLATFORM_WEB + +emar rcs libraylib.a rcore.o rshapes.o rtextures.o rtext.o rmodels.o raudio.o +mv libraylib.a ../.. |
