#!/bin/bash

mkdir -p wasm

emcc -o wasm/game.html main.c -Os -Wall ./raylib/lib/libraylib.a -I. -I./raylib.h -L. -L./raylib/lib/librarylib.a -s USE_GLFW=3 -s ASYNCIFY -DPLATFORM_WEB --preload-file assets -s -s TOTAL_MEMORY=67108864 -s ASSERTIONS=1
