Update build.sh

This commit is contained in:
sigonasr2, Sig, Sigo 2022-06-29 12:55:19 -05:00 committed by GitHub
parent 02f0d38008
commit 4e08e1055e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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