# checkmake/checkmake

Linter/analyzer for Makefiles

Repository: https://github.com/checkmake/checkmake
Canonical: https://ross.abutalabs.com/products/checkmake
Language: Go
License: MIT
License Family: permissive
Topics: makefile, make, linter, lint, hacktoberfest
Last push: 2026-08-24T11:06:16+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 65, longevity 100
- inputs: {"age_days": 3662, "days_push": 9, "days_rel": 235, "gap_med": 0.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1212, forks 52 (observed 2026-08-28T04:04:00.321587+00:00)

## What it is
checkmake is a linter and analyzer for Makefiles written in Go. It scans Makefiles for potential issues based on configurable rules and reports violations with file and line details.

## Use cases
- lint my Makefiles for bad practices
- check that phony targets are declared in a Makefile
- enforce required targets like all and test in Makefiles
- run Makefile checks in CI
- analyze multiple Makefiles in a repository
- output Makefile lint results as JSON for tooling

## When to choose
- you maintain projects with GNU Make build files and want automated style/correctness checks
- you want a fast, standalone CLI linter for Makefiles with configurable rules
- you need JSON output to integrate Makefile linting into CI pipelines

## When to avoid
- you use build systems other than Make (CMake, Bazel, Ninja)
- you need a formatter that rewrites Makefiles rather than reporting issues
- you rely on very recent or exotic Makefile syntax the parser may not support

## Facets
- artifact type: cli-tool
- maturity: active
- function: linter, parser, cli, developer-tools
- domain: developer-tools
- platform: windows, cli, cross-platform
- tags: makefile, linting, static-analysis, build-systems, go, command-line, automation, build-tools, linux, macos

## Member repositories
- checkmake/checkmake (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:00.321587+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:17:59.292831+00:00, confidence not recorded.
  - readme: https://github.com/checkmake/checkmake (fetched 2026-08-28T04:04:00.321587+00:00, sha f544bc5923c8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
