🎯

makefile

🎯Skill

from joeyagreco/dotfiles

VibeIndex|
What it does

Provides standardized formatting guidelines and best practices for writing clean, consistent Makefiles.

πŸ“¦

Part of

joeyagreco/dotfiles(3 items)

makefile

Installation

πŸ“‹ No install commands found in docs. Showing default command. Check GitHub for actual instructions.
Quick InstallInstall with npx
npx skills add joeyagreco/dotfiles --skill makefile
1Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Guidelines when dealing with Makefiles

Overview

# Makefile Formatting

Instructions

When writing or modifying Makefiles, follow these formatting guidelines:

  1. Each target should have a .PHONY declaration
  2. Format should follow this pattern:

- .PHONY: target-name on its own line

- target-name: on the next line

- Commands indented with a tab

- Empty line between targets

Example

```makefile

.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