[Mod] 添加 MAKEFILE_LIST 测试用例
This commit is contained in:
14
.editorconfig
Normal file
14
.editorconfig
Normal file
@ -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
|
||||||
@ -1,9 +1,11 @@
|
|||||||
|
|
||||||
|
|
||||||
makedir := $(abspath $(lastword $(MAKEFILE_LIST)))
|
makedir := $(abspath $(lastword $(MAKEFILE_LIST)))
|
||||||
$(warning makedir1=$(makedir))
|
$(warning makedir1=$(makedir))
|
||||||
|
|
||||||
include dir1/Makefile
|
include dir1/Makefile
|
||||||
|
|
||||||
makedir := $(abspath $(lastword $(MAKEFILE_LIST)))
|
makedir := $(abspath $(lastword $(MAKEFILE_LIST)))
|
||||||
$(warning makedir3=$(makedir))
|
$(warning makedir3=$(makedir))
|
||||||
|
|
||||||
|
all:
|
||||||
|
@echo "Completing the main Makefile"
|
||||||
Reference in New Issue
Block a user