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. |
||||
#C |
||||
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} "$@" |
||||
fi |
||||
printf "\n\n" |
||||
|
@ -1,8 +1,8 @@ |
||||
export AUTO_UPDATE=true |
||||
export AUTO_UPDATE=false |
||||
|
||||
source utils/define.sh |
||||
|
||||
define PROJECT_NAME "CProjectTemplate" |
||||
define PROJECT_NAME "current" |
||||
define CUSTOM_PARAMS "-lncurses" |
||||
define LANGUAGE "C" |
||||
|
||||
|
Loading…
Reference in new issue