Skip to content

Conversation

@mikelolasagasti
Copy link
Collaborator

@mikelolasagasti mikelolasagasti commented Oct 17, 2025

The minphony rule now validates that required targets are both:

  • declared as PHONY, and
  • actually defined in the Makefile.

Fixes: #172
Fixes: #87

The minphony rule now validates that required targets are both:
  - declared as PHONY, and
  - actually defined in the Makefile.

Fixes checkmake#172

Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
Copy link
Collaborator

@obnoxxx obnoxxx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this fix!

I tested it locally.

Works like a charm.

LGTM

@obnoxxx obnoxxx merged commit cd1a99a into checkmake:main Oct 17, 2025
3 checks 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.

minphony checks if target is in .PHONY, not if it is defined minphony false positives

2 participants