Co-authored-by: sigonasr2 <sigonasr2@gmail.com>main
parent
42c3bd0db4
commit
0400968ea3
@ -1,7 +1,7 @@ |
|||||||
#Compiles the entire program then runs it, producing an executable. |
#Compiles the entire program then runs it, producing an executable. |
||||||
#C |
#C |
||||||
printf "Running program...\n\n\n" |
printf "Running program...\n\n\n" |
||||||
if gcc $(find . -type f -name "*.c") ${CUSTOM_PARAMS} -o ${PROJECT_NAME}; then |
if gcc src/*.c ${CUSTOM_PARAMS} -o ${PROJECT_NAME}; then |
||||||
./${PROJECT_NAME} "$@" |
./${PROJECT_NAME} "$@" |
||||||
fi |
fi |
||||||
printf "\n\n" |
printf "\n\n" |
||||||
|
@ -1,8 +1,8 @@ |
|||||||
export AUTO_UPDATE=true |
export AUTO_UPDATE=false |
||||||
|
|
||||||
source utils/define.sh |
source utils/define.sh |
||||||
|
|
||||||
define PROJECT_NAME "CProjectTemplate" |
define PROJECT_NAME "current" |
||||||
define CUSTOM_PARAMS "-lncurses" |
define CUSTOM_PARAMS "-lncurses" |
||||||
define LANGUAGE "C" |
define LANGUAGE "C" |
||||||
|
|
||||||
|
Loading…
Reference in new issue