#Compiles the entire program with debug flags then runs it in gdb.
#C++
printf "Running program...\n\n\n"
if g++ $(find . -type f -name "*.cpp") -g ${CUSTOM_PARAMS} -o ${PROJECT_NAME}; then
gdb ./${PROJECT_NAME} "$@"
fi
printf "\n\n"