.editorconfig
· 165 B · INI
原始檔案
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
[Makefile]
indent_style = tab
| 1 | [*] |
| 2 | charset = utf-8 |
| 3 | end_of_line = lf |
| 4 | insert_final_newline = true |
| 5 | indent_style = space |
| 6 | indent_size = 4 |
| 7 | trim_trailing_whitespace = true |
| 8 | |
| 9 | [Makefile] |
| 10 | indent_style = tab |
| 11 |
Makefile
· 285 B · Makefile
原始檔案
.DEFAULT_GOAL := help
.PHONY: goal1 goal2
######################
goal1:
@echo "This is goal1"
goal2:
@echo "This is goal2"
######################
## help: This help message
help: Makefile
@echo "Available goals:"
@sed -n 's/^##//p' $< | column -t -s ':' | sed -e 's/^/ /'
| 1 | .DEFAULT_GOAL := help |
| 2 | .PHONY: goal1 goal2 |
| 3 | |
| 4 | ###################### |
| 5 | |
| 6 | goal1: |
| 7 | @echo "This is goal1" |
| 8 | |
| 9 | goal2: |
| 10 | @echo "This is goal2" |
| 11 | |
| 12 | ###################### |
| 13 | |
| 14 | ## help: This help message |
| 15 | help: Makefile |
| 16 | @echo "Available goals:" |
| 17 | @sed -n 's/^##//p' $< | column -t -s ':' | sed -e 's/^/ /' |
| 18 |