From 07f9ba8da6453b4a35f074181509a115feb3c00e Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Sun, 10 Dec 2023 16:17:21 -0600 Subject: [PATCH] C++: Fix up build script to include the custom flags when building PGE Co-authored-by: sigonasr2 --- C++/scripts/build.sh | 4 ++-- C++/scripts/md5 | 2 +- 2 files changed, 3 insertions(+), 3 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 diff --git a/C++/scripts/md5 b/C++/scripts/md5 index 8d5b624..4e06ad7 100644 --- a/C++/scripts/md5 +++ b/C++/scripts/md5 @@ -1,4 +1,4 @@ -build.sh:c073187e65d0e23aa77aa94af4ec6382 - +build.sh:e307e0388d5f0d16c7f9a39e0177fc47 - commit.sh:1af81bf417dfb932284d8a14fdd10657 - debug.sh:8125f303032b6cbc137223df63d10096 - lines.sh:3b907786f7fc9204025993016c9080de -