edit
This commit is contained in:
7
Makefile
7
Makefile
@ -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 ..
|
||||
|
||||
Reference in New Issue
Block a user