diff --git a/C/scripts/build.sh b/C/scripts/build.sh index 3cbcb64..83868ab 100755 --- a/C/scripts/build.sh +++ b/C/scripts/build.sh @@ -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" diff --git a/current b/current new file mode 100755 index 0000000..deadea3 Binary files /dev/null and b/current differ diff --git a/sig b/sig index 4284122..a3ee9da 100755 --- a/sig +++ b/sig @@ -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" diff --git a/main.c b/src/main.c similarity index 100% rename from main.c rename to src/main.c