For Project Euler progression and fun
ProjectEuler/C/scripts/build.sh

8 lines
206 B

3 years ago
#Compiles the entire program then runs it, producing an executable.
#C
printf "Running program...\n\n\n"
if gcc src/*.c ${CUSTOM_PARAMS} -o ${PROJECT_NAME}; then
3 years ago
./${PROJECT_NAME} "$@"
fi
printf "\n\n"