summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authortalha <talha@talhaamir.xyz>2024-03-12 23:46:34 +0500
committertalha <talha@talhaamir.xyz>2024-03-12 23:46:34 +0500
commit20f2625f9832504661774b8a9f6661188fd97716 (patch)
tree48f87066f246748a0a7edd6904d3feda0a3491f3 /build.sh
parentb8b64ac409f78f3b7a1798aa645a44554f99868f (diff)
Switched to clang on linux, updated shader to allow interactively
tweaking specular lighting properties
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index b9c1793..815dccc 100755
--- a/build.sh
+++ b/build.sh
@@ -14,7 +14,7 @@ build_opts="$build_dir/main"
lib_path="lib/SDL2"
link_opts="-L $lib_path -lSDL2"
-build_command="g++ -g -Og $include_opts $files $link_opts -o $build_opts"
+build_command="clang++ -std=c++11 -g -Og $include_opts $files $link_opts -o $build_opts"
printf "Building your sdl2 project.\n\nThis is the build command for posteritys' sake:\n\n"
printf "$build_command\n\n"