Last active
February 27, 2020 07:04
-
-
Save choonkeat/0ca326d653676214ab243646ed95566d to your computer and use it in GitHub Desktop.
`Makefile` footer. See also https://twitter.com/choonkeat/status/1131753916595445761
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put your entry point make targets above this line | |
# Put build targets that are NOT meant to be entry points | |
# inside a different file. This way, when invoking shell | |
# autocomplete with `make <tab>`, only the targets in the | |
# main `Makefile` will be listed as options | |
include Makefile.libs | |
# make target for files are usually intentional | |
# make target for directories are unintentional | |
# :. all directories are .PHONY targets | |
# | |
# put this as the last line of your `Makefile` | |
.PHONY: $(shell find . -type d | cut -c 3-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment