Skip to content

make: track header dependencies - #515

Merged
stevedekorte merged 1 commit into
masterfrom
make-header-deps
Nov 17, 2026
Merged

stevedekorte merged 1 commit into
masterfrom
make-header-deps

Conversation

@stevedekorte

Copy link
Copy Markdown
Member

Compiles now write .d files (-MMD -MP) and the Makefile includes them, so editing a header rebuilds the objects that include it. Before, a header edit needed rm -rf build/obj by hand, and stale objects gave wrong results.

Checked: touching IoEvalFrame.h rebuilds only its dependents; touching browser/io_future.h rebuilds the three browser objects; a second make does nothing.

🤖 Generated with Claude Code

https://claude.ai/code/session_011WETVfgtbJ5chDp7AeZUe9

Compiles write .d files (-MMD -MP) that the Makefile includes, so editing a
header no longer needs a clean build. The three browser object rules become
one pattern rule, since their header lists are now generated.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011WETVfgtbJ5chDp7AeZUe9
@stevedekorte
stevedekorte merged commit 10b5604 into master Nov 17, 2026
1 check passed
@stevedekorte
stevedekorte deleted the make-header-deps branch November 17, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant