summaryrefslogtreecommitdiff
path: root/build_browser.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build_browser.sh')
-rwxr-xr-xbuild_browser.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_browser.sh b/build_browser.sh
index 8e046cb..bf65c76 100755
--- a/build_browser.sh
+++ b/build_browser.sh
@@ -8,7 +8,7 @@ minishell="--shell-file $HOME/Documents/Personal/programming/raylib/src/minshell
lib_opts="$lraylib -s USE_GLFW=3 $minishell -DPLATFORM_WEB --preload-file assets"
src_dir="src"
-src_files="$src_dir/game.c"
+src_files="$src_dir/game.cpp"
build_dir="build/web"
build_path="$build_dir/game.html"
emcc -Os -Wall ./thirdparty/raylib_browser/lib/libraylib.a $include_opts $src_files $lib_opts -o $build_path