From 98fa2377a890757ae4946accedd0804872f3caaa Mon Sep 17 00:00:00 2001 From: gaoyang3513 Date: Sat, 19 Jul 2025 23:43:46 +0800 Subject: [PATCH] =?UTF-8?q?[Mod]=20=E6=B7=BB=E5=8A=A0=20MAKEFILE=5FLIST=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 14 ++++++++++++++ Makefile => 01-Variable_MAKEFILE_LIST/Makefile | 4 +++- {dir1 => 01-Variable_MAKEFILE_LIST/dir1}/Makefile | 0 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .editorconfig rename Makefile => 01-Variable_MAKEFILE_LIST/Makefile (81%) rename {dir1 => 01-Variable_MAKEFILE_LIST/dir1}/Makefile (100%) diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..ad7ecc9 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +# EditorConfig is awesome: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*] +end_of_line = lf +charset = utf-8 + +[Makefile] +indent_style = tab +indent_size = 8 +trim_trailing_whitespace = false +insert_final_newline = false diff --git a/Makefile b/01-Variable_MAKEFILE_LIST/Makefile similarity index 81% rename from Makefile rename to 01-Variable_MAKEFILE_LIST/Makefile index b53e7e6..edab81e 100644 --- a/Makefile +++ b/01-Variable_MAKEFILE_LIST/Makefile @@ -1,9 +1,11 @@ - makedir := $(abspath $(lastword $(MAKEFILE_LIST))) $(warning makedir1=$(makedir)) include dir1/Makefile + makedir := $(abspath $(lastword $(MAKEFILE_LIST))) $(warning makedir3=$(makedir)) +all: + @echo "Completing the main Makefile" diff --git a/dir1/Makefile b/01-Variable_MAKEFILE_LIST/dir1/Makefile similarity index 100% rename from dir1/Makefile rename to 01-Variable_MAKEFILE_LIST/dir1/Makefile