From 1c1b4eea0123d0ac65ee1e6eb74d8c84a4fd8708 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Sun, 10 Dec 2023 16:17:41 -0600 Subject: [PATCH] Update template Co-authored-by: sigonasr2 --- C++/scripts/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C++/scripts/build.sh b/C++/scripts/build.sh index e3c0374..17ade89 100755 --- a/C++/scripts/build.sh +++ b/C++/scripts/build.sh @@ -9,7 +9,7 @@ fi if [ ! -f "pixelGameEngine.o" ] then printf "Pixel Game Engine compile object missing. Compiling for the first time..." - g++ -c pixelGameEngine.cpp + g++ ${CUSTOM_PARAMS} -c pixelGameEngine.cpp fi if [ "$1" = "test" ] then @@ -21,7 +21,7 @@ then elif [ "$1" = "full" ] then echo "" > ./test/test.h - g++ -c pixelGameEngine.cpp + g++ ${CUSTOM_PARAMS} -c pixelGameEngine.cpp if g++ $(find . -type f -name "*.cpp" -not -path "./test/*" -not -name "pixelGameEngine.cpp") pixelGameEngine.o ${CUSTOM_PARAMS} -o ${PROJECT_NAME}; then ./${PROJECT_NAME} "$@" fi