summaryrefslogtreecommitdiff
path: root/build_browser.sh
diff options
context:
space:
mode:
authortalha <->2024-08-15 10:46:43 +0500
committertalha <->2024-08-15 10:46:43 +0500
commit0453b8f50dc4d40083e02cc3d09b4bcaa33f1700 (patch)
treedc9956d8b3be69d76cd03dd4d9b1e0d16dae0a14 /build_browser.sh
parent0cb9fa1c023033c250fd0bf33c2cee49fc85f178 (diff)
Added functionality, updated c to cpp:HEADmain
- Added entity arrays - Added memory arenas - moved c files to cpp - refactored files to work with lsp (still unity build) but more painful
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