sigonasr2 f512eb5f67 Include C++ building for olcGameEngine
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2022-08-21 21:45:06 -05:00

8 lines
230 B
Bash
Executable File

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