raylib folder

This commit is contained in:
2025-12-29 13:52:39 +01:00
parent a3d4ad3922
commit 60c3754dd6
7 changed files with 4 additions and 5 deletions

3
.gitignore vendored
View File

@ -1,2 +1 @@
michelson /raylib_ignore
/raylib

View File

@ -9,7 +9,7 @@ run:
./michelson ./michelson
web: main.c web: main.c
mkdir -p web && emcc -o web/index.html main.c -Os -Wall -std=c99 -DPLATFORM_WEB -s USE_GLFW=3 -s ALLOW_MEMORY_GROWTH=1 -I. --shell-file minshell.html --preload-file glsl/michelson_web.frag libraylib.web.a mkdir -p web && emcc -o web/index.html main.c -Os -Wall -std=c99 -DPLATFORM_WEB -s USE_GLFW=3 -s ALLOW_MEMORY_GROWTH=1 -I. --shell-file minshell.html --preload-file glsl/michelson_web.frag raylib/libraylib.web.a
webrun: webrun:
cd web && python -m http.server 8000 && cd .. cd web && python -m http.server 8000 && cd ..

4
main.c
View File

@ -1,7 +1,7 @@
#include "raylib.h" #include "raylib/raylib.h"
#include <math.h> #include <math.h>
#define RAYGUI_IMPLEMENTATION #define RAYGUI_IMPLEMENTATION
#include "raygui.h" #include "raylib/raygui.h"
#if defined(PLATFORM_WEB) #if defined(PLATFORM_WEB)
#include <emscripten/emscripten.h> #include <emscripten/emscripten.h>
#endif #endif

BIN
michelson Executable file

Binary file not shown.