diff options
Diffstat (limited to '2026/examples/example_raylib/build_raylib.sh')
| -rwxr-xr-x | 2026/examples/example_raylib/build_raylib.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/2026/examples/example_raylib/build_raylib.sh b/2026/examples/example_raylib/build_raylib.sh new file mode 100755 index 0000000..71aa025 --- /dev/null +++ b/2026/examples/example_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 ../.. |
