From fa4d63110a3e12d0242b6e6ddcded74d04480f28 Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Thu, 28 May 2026 20:16:38 -0400 Subject: Initial commit --- 2026/examples/raylib/build_raylib.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 2026/examples/raylib/build_raylib.sh (limited to '2026/examples/raylib/build_raylib.sh') 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 ../.. -- cgit v1.2.3