diff --git a/Makefile b/Makefile index 5a93a0c..99065da 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ # Build File : Makefile # File Authors : Aoran Zeng # Created On : <2023-08-28> -# Last Modified : <2024-09-04> +# Last Modified : <2024-09-10> # --------------------------------------------------------------- CFLAGS = -Iinclude # -Wall @@ -26,7 +26,7 @@ CI_Build_Name = chsrc #======================= all: - @$(CC) src/chsrc.c $(CFLAGS) -o $(Target) + @$(CC) src/chsrc-main.c $(CFLAGS) -o $(Target) @echo; echo Compile done using \'$(CC)\' $(CFLAGS) CI: all diff --git a/include/chsrc.h b/src/chsrc-framework.h similarity index 99% rename from include/chsrc.h rename to src/chsrc-framework.h index 9e1d85e..8b9aa49 100644 --- a/include/chsrc.h +++ b/src/chsrc-framework.h @@ -1,7 +1,7 @@ /** ------------------------------------------------------------ * SPDX-License-Identifier: GPL-3.0-or-later * ------------------------------------------------------------- - * File Name : chsrc.h + * File Name : chsrc-framework.h * File Authors : Aoran Zeng * | Heng Guo <2085471348@qq.com> * Contributors : Peng Gao diff --git a/src/chsrc.c b/src/chsrc-main.c similarity index 99% rename from src/chsrc.c rename to src/chsrc-main.c index 1a8292f..ea796d4 100644 --- a/src/chsrc.c +++ b/src/chsrc-main.c @@ -24,7 +24,7 @@ #define Chsrc_Maintain_URL "https://github.com/RubyMetric/chsrc" #define Chsrc_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc" -#include "chsrc.h" +#include "chsrc-framework.h" #include "recipe/lang/Ruby.c" #include "recipe/lang/Python.c"