Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect PHONY and add PHONY linter #379

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

benji-york
Copy link

Hi, while evaluating Ward to use in my projects, I noticed a small bug in the Makefile so I thought I'd fix it.

I also took the liberty of improving (IMHO) the Makefile just a little.

Thanks for Ward—I'm really liking what I'm seeing!

One of the make PHONY targets was incorrect, so I fixed it and added a
linter that would have caught the error.
This adds a fairly standard Makefile config that is better suited to
non-C projects and is safer than the defaults.

This also changes the default target to a more standard "build" step
instead of "clean".  Now the pattern of "make clean; make; make test"
works as expected.
@benji-york benji-york changed the title Benji/fix phony add linter fix PHONY and add PHONY linter Apr 1, 2024
@benji-york benji-york changed the title fix PHONY and add PHONY linter Fix incorrect PHONY and add PHONY linter Apr 1, 2024
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.

None yet

1 participant