# checkmake

Check Makefile target conventions

Lint Makefiles for project conventions such as explicit phony targets. Check the main file used by CI and review rule-specific exceptions.

Category: Code quality
Languages: Makefile

## Standard evidence

Rubric v1 · 3/8 verified · 5 unknown · 0 contrary · reviewed 2026-11-28

- **Definition** (verified) — The phonydeclared rule checks whether targets that do not represent files are declared phony. The documented example flags the all target. Reviewed 2026-11-28. [Source](https://github.com/checkmake/checkmake)
- **Measurement** (verified) — The example CLI report identifies the rule, target, file and line for a missing phony declaration. Reviewed 2026-11-28. [Source](https://github.com/checkmake/checkmake)
- **Conformance** (verified) — The README shows running the tool against the published missing_phony.make fixture and the expected phonydeclared diagnostic at its target. Reviewed 2026-11-28. [Source](https://github.com/checkmake/checkmake)
- **CI enforcement** (unknown) — No reviewed evidence is recorded for this dimension.
- **Getting started** (unknown) — No reviewed evidence is recorded for this dimension.
- **Real-world adoption** (unknown) — No reviewed evidence is recorded for this dimension.
- **Agent guidance** (unknown) — No reviewed evidence is recorded for this dimension.
- **Agent portability** (unknown) — No reviewed evidence is recorded for this dimension.

## Adoption

Use checkmake in this repository to meet this standard: Check Makefile target conventions. Lint Makefiles for project conventions such as explicit phony targets. Check the main file used by CI and review rule-specific exceptions. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

### Tool command

```
checkmake Makefile
```

Seikika package: no verified installation is listed.

## References

- [Tool documentation](https://github.com/checkmake/checkmake)
- [Agent skill](/skills/checkmake/SKILL.md)
