Add editorconfig file to keep TAB in Makefile
This commit is contained in:
parent
66bac0e120
commit
e67ab2ec7f
16
.editorconfig
Normal file
16
.editorconfig
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# top-most EditorConfig file
|
||||||
|
root = true
|
||||||
|
|
||||||
|
# Unix-style newlines with a newline ending every file
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
|
# Tab indentation (no size specified)
|
||||||
|
[Makefile]
|
||||||
|
indent_style = tab
|
||||||
|
|
||||||
|
[*.{c,h,cpp,hpp}]
|
||||||
|
indent_size = 4
|
6
Makefile
6
Makefile
|
@ -1,6 +1,7 @@
|
||||||
#
|
#
|
||||||
# Use GNU-Make (gmake) for building
|
# Use GNU-Make (gmake) for building
|
||||||
#
|
#
|
||||||
|
|
||||||
bin = aix-disk-perfstat
|
bin = aix-disk-perfstat
|
||||||
src = $(wildcard *.c)
|
src = $(wildcard *.c)
|
||||||
obj = $(src:.c=.o)
|
obj = $(src:.c=.o)
|
||||||
|
@ -14,4 +15,3 @@ $(bin): $(obj)
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -f $(obj) $(bin)
|
rm -f $(obj) $(bin)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue