REA Makefile dependency notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

Makefile (and includes) pins build-target identity. In REA 6.7.x, treat selected targets and include pins as Evidence beside archive routes — complementing rea-cmake-exports.

Mental model

  1. Authorize the Makefile (+ objects/archives you hold).
  2. Quote selected targets, includes, and tool variables you actually see.
  3. justfile cousin → rea-justfile; CMake lock → rea-cmake-lock; exports → rea-cmake-exports.
  4. Absolute paths → rea-absolute-paths.
  5. Do not invent a make dependency-graph API REA never called.

Minimal path

# authorized Makefile (+ object/archive you hold)
# quote selected targets/includes into case notes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_makefile .

Compare

ArtifactHonest posture
Makefile targetsBuild-target identity facts
justfile cousinrea-justfile
CMake lock/presetsrea-cmake-lock
CMake exportsrea-cmake-exports

Scope we will not cover

  • No inventing inspect_makefile / automatic make graph crawlers.
  • No credential theft from make env secrets.
  • No pirate redistribution of paid SDKs.
  • No crack framing via build scripts.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-cmake-exports / rea-justfile?

rea-cmake-exports covers CMake export identity; rea-justfile covers just recipes. This page zooms on Makefile target/include identity — it does not overwrite those pages.

Is there inspect_makefile in 6.7.0?

Not assumed. Quote targets/includes/vars you actually open, then use documented archive lanes. Do not invent inspect_makefile.

Does REA run make / steal build secrets?

No. Local trees only. Redact secrets in Evidence.

Makefile vs CMake lock/presets?

See rea-cmake-lock — label Evidence by the build system present.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources