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

Mention .PHONY in make clean section #54

Closed
jxu opened this issue Aug 27, 2022 · 1 comment
Closed

Mention .PHONY in make clean section #54

jxu opened this issue Aug 27, 2022 · 1 comment

Comments

@jxu
Copy link
Contributor

jxu commented Aug 27, 2022

.PHONY should be mentioned in the make clean section, as while it is mentioned much later on in the article, clean is where it's commonly seen. https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html

make all section should also include it as well for completeness (should there be a file named all for some reason)

@theicfire
Copy link
Owner

You're correct, but I don't want to add it to the tutorial because:

  • In practice, many people don't use .PHONY because of how rare files called all or clean are
  • It will clutter up every example with a detail that's minimally important

Nevertheless, I've now pointed this point out explicitly. See 06e5b9d

Thanks!

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

No branches or pull requests

2 participants