From 0453b8f50dc4d40083e02cc3d09b4bcaa33f1700 Mon Sep 17 00:00:00 2001 From: talha <-> Date: Thu, 15 Aug 2024 10:46:43 +0500 Subject: Added functionality, updated c to cpp: - Added entity arrays - Added memory arenas - moved c files to cpp - refactored files to work with lsp (still unity build) but more painful --- build_desktop.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build_desktop.sh') 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 -- cgit v1.2.3