curses/C/scripts/build.sh
2022-06-29 18:02:54 +00:00

8 lines
223 B
Bash
Executable File

#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
printf "\n\n"