Makedesc is a tool for getting a list of targets for a Makefile.
go get 4d63.com/makedesc
curl -o /usr/local/bin/makedesc https://raw.githubusercontent.com/leighmcculloch/makedesc/binaries/mac/amd64/makedesc && chmod +x /usr/local/bin/makedesc
curl -o /usr/local/bin/makedesc https://raw.githubusercontent.com/leighmcculloch/makedesc/binaries/linux/amd64/makedesc && chmod +x /usr/local/bin/makedesc
Download the executable, and save it to your path.
$ makedesc -help
Makedesc is a tool for describing makefiles.
Usage:
makedesc [-file=Makefile]
Flags:
-file string
a Makefile (default "Makefile")
-help
print this help list