SigScript/C/scripts/build.sh

5 lines
167 B
Bash
Raw Normal View History

#Compiles the entire program then runs it, producing an executable.
#C
if gcc $(find . -type f -name "*.c") -lncurses -o ${PROJECT_NAME}; then
./${PROJECT_NAME}
fi