Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

GNU Make

$ make Foundation Low Risk
GNU Project · Code & DevOps · GPL-3.0 · macos / linux / windows

The foundational dependency-driven build tool found in C/C++, embedded, and polyglot projects worldwide. Agents rely on make -n (--dry-run) to inspect target recipes safely before executing builds or tests.

FCRS-1.0 Score
81 /100
Good
Medium Confidence
Zero-Friction Install
brew install make
CLI vs MCP Decision CLI Only

Standard local build orchestrator; must run directly in the workspace shell.

Agent-Readiness Checklist

Local Probe Evidence
— JSON Output
— Field Filtering
✓ Non-Interactive
✓ Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md
Version
—
Startup
3003 ms
Exit Codes (help / invalid)
— / —
NO_COLOR Clean / Non-TTY Safe
Yes / Hung

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 17 / 25

Deterministic non-interactive execution with -n (--dry-run) and -s, but lacks --json output and clean target listing.

  • make -n reliably prints recipes without running them
  • No --json output or built-in --list summary
Trust & Safety 21 / 25

Zero network/auth surface and -n dry-run inspection, though $(shell ...) expressions still evaluate during parsing.

  • make -n previews commands safely (note $(shell ...) nuances)
Setup & Portability 14 / 15

Pre-installed on nearly every Linux/macOS dev box (macOS ships Make 3.81; Homebrew provides GNU Make 4.x as gmake).

  • Ubiquitous OS availability; minor macOS 3.81 vs GNU 4.x version skew
Utility & Efficiency 13 / 15

Simple timestamp-based incremental builds and universal entrypoint across diverse repos.

  • Universal make test / make build convention
Maintenance & Lineage 8 / 10

Long-lived GNU Project utility under GPL-3.0.

  • Maintained by the GNU Project
Docs & Verifiability 8 / 10

Exhaustive official GNU Make manual, though dense for quick flag lookups.

  • Complete manual at gnu.org/software/make/manual

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

No credentials stored; reads local Makefile / GNUmakefile targets.

Side Effects
Read-Only Local Write
Cost & Quotas

GPL-3.0 free and open-source software.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# GNU Make (make) Agent Rules
- Run `make -n <target>` first to inspect what commands a `Makefile` target executes.
- Avoid destructive targets like `make clean` or `make distclean` unless an incremental rebuild is broken.

Agent-Ready Command Recipes

Safe Read-Only Queries

Dry-run a Makefile target
make -n build

Prints the exact expanded commands make build would run without executing them.

Print target database without building
make -qp

Dumps parsed rules and variables (-q -p) so agents can inspect available targets safely.

Controlled Writes & Previews

Run tests cleanly without echoing recipes
make -s test

Executes the test target with -s (--silent) to reduce shell noise.

Strengths for Agents

  • + Pre-installed almost everywhere with near-zero startup time.
  • + make -n (--dry-run) exposes exact recipe commands before running.
  • + Serves as the common task entrypoint across thousands of repositories.

Caveats & Pitfalls

  • ! No --json output and no native --list flag for discovering targets.
  • ! macOS default /usr/bin/make is pinned to GNU Make 3.81 (2006), causing subtle incompatibilities with Make 4.x Makefiles.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI