Skip to content

Instantly share code, notes, and snippets.

@choonkeat
Last active February 27, 2020 07:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save choonkeat/0ca326d653676214ab243646ed95566d to your computer and use it in GitHub Desktop.
Save choonkeat/0ca326d653676214ab243646ed95566d to your computer and use it in GitHub Desktop.
# 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