itechmeat/llm-code/makefile
Claude Code and agent skill by itechmeat/llm-code
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
GNU Make automation and build system guidance. Use when creating or maintaining Makefiles, writing Make targets and recipes, or configuring GNU Make build automation. Keywords: Makefile, GNU Make, targets, recipes, build automation.
Install
npx vskill@latest install itechmeat/llm-code/makefileSKILL.md
Makefile Skill
Guidance for creating and maintaining GNU Make build automation.
Quick Navigation
| Topic | Reference | |
|---|---|---|
| Rules, prerequisites, targets | syntax.md | |
| Variable types and assignment | variables.md | |
| Built-in functions | functions.md | |
| Special and phony targets | targets.md | |
| Recipe execution, parallel | recipes.md | |
| Implicit and pattern rules | implicit.md | |
| Common practical patterns | patterns.md |
Core Concepts
Rule Structure
Critical: Recipe lines MUST start with TAB character.
File vs Phony Targets
Variable Assignment
| Operator | Name | When Expanded | |
|---|---|---|---|
:= | Simple | Once, at definition | |
?= | Conditional | If not already set | |
= | Recursive | Each use (late binding) | |
+= | Append | Adds to existing value |
Automatic Variables
| Variable | Meaning | |
|---|---|---|
$@ | Target | |
$< | First prerequisite | |
$^ | All prerequisites (unique) | |
$? | Prerequisites newer than target | |
$* | Stem in pattern rules |
Essential Patterns
Self-Documenting Help
Platform Detection
Build Directory
Environment Export
Common Targets
Quality Checks
Cleanup
Docker Integration
Recipe Execution
Each Line = Separate Shell
Silent and Error Handling
Parallel Execution
Output Discipline
One line in, one line out. Avoid echo spam.
Conditionals
Including Files
Common Pitfalls
| Pitfall | Problem | Solution | |
|---|---|---|---|
| Spaces in recipes | Recipes need TAB | Use actual TAB character | |
| Missing .PHONY | make test fails if test file exists | Declare .PHONY: test | |
| cd in recipes | Each line is new shell | Use cd dir && command | |
= vs := confusion | Unexpected late expansion | Use := by default | |
| Unexported vars | Subprocesses don't see vars | export VAR | |
| Complex shell in make | Hard to maintain | Move to external script |
Quick Reference
Links
See Also
- patterns.md - Extended patterns and recipes
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationWarning, 83 of 100Marginal. 1 run. Evaluated 7 months ago.
Source
- SKILL.md in the repositoryCheckingskills/makefile/SKILL.md
Popularity
- Repository stars
- 10
- 7-day trend score
- 12
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 24 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/itechmeat/llm-code/makefile)