Skip to content

fix(Makefile): correct .PHONY declarations#547

Closed
Dereku92 wants to merge 1 commit intolinode:mainfrom
Dereku92:fix/makefile-phony
Closed

fix(Makefile): correct .PHONY declarations#547
Dereku92 wants to merge 1 commit intolinode:mainfrom
Dereku92:fix/makefile-phony

Conversation

@Dereku92
Copy link
Copy Markdown

Fixes three issues in the Makefile:

  1. Duplicate .PHONY: lint on line 85 — this should be .PHONY: nilcheck since it precedes the nilcheck target, not the lint target (which already has its own .PHONY on line 81).

  2. Lowercase .phony directives for golangci-lint-nilaway and golangci-lint targets — GNU Make's .PHONY is case-sensitive. The lowercase .phony is silently ignored, meaning these targets are not correctly marked as phony and could conflict with files of the same name.

Small fix, no functional change beyond correct Make behavior.

- Fix duplicate .PHONY: lint on line 85, should be .PHONY: nilcheck
- Fix lowercase .phony directives (GNU Make is case-sensitive)
  .phony has no effect; .PHONY is required
@Dereku92 Dereku92 closed this by deleting the head repository Mar 21, 2026
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