Skip to content

Use GCC dependency generation in Makefiles#22

Merged
differrari merged 1 commit intodifferrari:consolefrom
codebrainz:make-deps
Aug 10, 2025
Merged

Use GCC dependency generation in Makefiles#22
differrari merged 1 commit intodifferrari:consolefrom
codebrainz:make-deps

Conversation

@codebrainz
Copy link
Copy Markdown
Contributor

This causes source files which depend on headers to be rebuilt when the header changes. -MMD generates the dependencies in *.d files, excluding system headers. -MP adds fake rules for headers to the dependencies file so build doesn't break if a header is removed. Update .gitignore to ignore new *.d files.

This causes source files which depend on headers to be rebuilt
when the header changes. `-MMD` generates the dependencies in
`*.d` files, excluding system headers. `-MP` adds fake rules
for headers to the dependencies file so build doesn't break if
a header is removed. Update `.gitignore` to ignore new `*.d`
files.
@differrari differrari changed the base branch from main to console August 10, 2025 19:43
@differrari differrari merged commit ff4bffd into differrari:console Aug 10, 2025
1 check passed
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.

2 participants