summaryrefslogtreecommitdiff
path: root/build_desktop.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_desktop.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_desktop.sh')
-rwxr-xr-xbuild_desktop.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_desktop.sh b/build_desktop.sh
index d74c086..683a084 100755
--- a/build_desktop.sh
+++ b/build_desktop.sh
@@ -7,7 +7,7 @@ lraylib="-L thirdparty/raylib_desktop/lib -lraylib"
lib_opts="$lraylib -lGL -lm -lpthread -ldl -lrt -lX11"
src_dir="src"
-src_files="$src_dir/game.c"
+src_files="$src_dir/game.cpp"
build_dir="build/desktop"
build_path="$build_dir/game.out"
-cc -g -O0 $include_opts $src_files $lib_opts -o $build_path
+clang++ -g -O0 $include_opts $src_files $lib_opts -o $build_path