Change C build script to include custom params variable.

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2, Sig, Sigo 2 years ago committed by GitHub
parent 76f1d0d78d
commit 394bf7ea1d
  1. 2
      C/scripts/build.sh

@ -1,5 +1,5 @@
#Compiles the entire program then runs it, producing an executable.
#C
if gcc $(find . -type f -name "*.c") -lncurses -o ${PROJECT_NAME}; then
if gcc $(find . -type f -name "*.c") ${CUSTOM_PARAMS} -o ${PROJECT_NAME}; then
./${PROJECT_NAME}
fi
Loading…
Cancel
Save