From 394bf7ea1d3944b3e374d638e0a94374be1bba88 Mon Sep 17 00:00:00 2001 From: "sigonasr2, Sig, Sigo" Date: Wed, 29 Jun 2022 17:48:11 +0000 Subject: [PATCH] Change C build script to include custom params variable. Co-authored-by: sigonasr2 --- C/scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C/scripts/build.sh b/C/scripts/build.sh index d3b2ff9..c83e08c 100644 --- a/C/scripts/build.sh +++ b/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 \ No newline at end of file