diff options
author | talha <talha@talhaamir.xyz> | 2024-03-13 22:54:43 +0500 |
---|---|---|
committer | talha <talha@talhaamir.xyz> | 2024-03-13 22:54:43 +0500 |
commit | 2a1557aa2b4d406c92703f60f2d34283fed5fcfb (patch) | |
tree | ed0690693f97a21a8d8495d9e7154cc490f23a05 /build.sh | |
parent | 20f2625f9832504661774b8a9f6661188fd97716 (diff) |
Did some work on materials, refactored a few things
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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" |