Skip to content

Handle end of line comments for targets - #27

Merged
owenrumney merged 2 commits into
owenrumney:mainfrom
felix:target-comments
Aug 4, 2026
Merged

owenrumney merged 2 commits into
owenrumney:mainfrom
felix:target-comments

Conversation

@felix

@felix felix commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

I have a bunch of makefiles that use comments at the end of lines, often used for self-documenting makefiles. They were producing 'undefined target' warnings. This is just a quick fix.

@owenrumney owenrumney left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

This is great, thanks!

Added a few tests for no space on the comment, will release with the other PR

@owenrumney
owenrumney merged commit eaa3473 into owenrumney:main Aug 4, 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.

2 participants