From 2a1557aa2b4d406c92703f60f2d34283fed5fcfb Mon Sep 17 00:00:00 2001 From: talha Date: Wed, 13 Mar 2024 22:54:43 +0500 Subject: Did some work on materials, refactored a few things --- build.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 815dccc..4e11e85 100755 --- a/build.sh +++ b/build.sh @@ -8,7 +8,7 @@ mkdir -p $build_dir include_path=include include_opts="-I $include_path" -files="main.cpp $include_path/glad/glad.c" +files="source/main.cpp $include_path/glad/glad.c" build_opts="$build_dir/main" lib_path="lib/SDL2" @@ -16,7 +16,8 @@ link_opts="-L $lib_path -lSDL2" 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 "This is the build command for posteritys' sake:\n" printf "$build_command\n\n" +printf "Building Project...\n" $build_command -printf "Build Complete!\n" +printf "\nBuild Complete!\n\n" -- cgit v1.2.3