makefile
1
总安装量
1
周安装量
#52714
全站排名
安装命令
npx skills add https://github.com/joeyagreco/dotfiles --skill makefile
Agent 安装分布
windsurf
1
cursor
1
claude-code
1
antigravity
1
Skill 文档
Makefile Formatting
Instructions
When writing or modifying Makefiles, follow these formatting guidelines:
- Each target should have a
.PHONYdeclaration - Format should follow this pattern:
.PHONY: target-nameon its own linetarget-name:on the next line- Commands indented with a tab
- Empty line between targets
Example
.PHONY: foo
foo:
@echo 'foo'
.PHONY: bar
bar:
@echo 'bar'
When to Use
Apply these guidelines when:
- Creating new Makefile targets
- Modifying existing Makefiles
- Reviewing Makefile code