From c9fc2ca532c5219a087924ece1e38be19c25f006 Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Thu, 18 Jun 2026 16:15:46 -0400 Subject: Update --- 2026/examples/example_raylib/build_raylib.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 2026/examples/example_raylib/build_raylib.sh (limited to '2026/examples/example_raylib/build_raylib.sh') 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 ../.. -- cgit v1.2.3