summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2022-05-16 08:20:12 -0400
committerrealtradam <[email protected]>2022-05-16 08:20:12 -0400
commit1bfe6fcda4e6247452b17fe54a2cc613c4d19cf0 (patch)
tree27f949e13d125d36cea98abeee5e09ef3637c045 /Makefile
parent7f4467fa3f23011c2d84bfdba4d89271a50095c5 (diff)
downloadraylib-DrawTexturePro-interactive-demo-1bfe6fcda4e6247452b17fe54a2cc613c4d19cf0.tar.gz
raylib-DrawTexturePro-interactive-demo-1bfe6fcda4e6247452b17fe54a2cc613c4d19cf0.zip
more polished
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3478d8f..db9308f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,4 @@
desktop:
zig cc -target native main.c -o game -lGL -lm -lpthread -ldl -lrt -lX11 -Iraylib/src -Iraygui/src raylib/src/libraylib.a && ./game
+web:
+ emcc -Os -Wall main.c -o game -Iraylib/src -Iraygui/src raylib/src/libraylib.a -o output/index.html -s USE_GLFW=3 -DPLATFORM_WEB --shell-file raylib/src/minshell.html -s TOTAL_MEMORY=268435456 -s ASYNCIFY --preload-file ./assets