This commit is contained in:
2025-12-29 13:47:25 +01:00
parent fa9d871479
commit fad31cdd2f
7 changed files with 8 additions and 73 deletions

View File

@ -3,6 +3,13 @@ michelson: main.c
clean:
rm -f michelson
rm -r web
run:
./michelson
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 michelson_web.frag libraylib.web.a
webrun:
cd web && python -m http.server 8000 && cd ..