summaryrefslogtreecommitdiff
path: root/build_desktop.sh
diff options
context:
space:
mode:
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