Suppose I have a simple makefile like:
hello: echo \"hello world\" bye: echo \"bye bye\"
Then in bash I want something like:
There's a useful package called bash-completion available for most every OS. It includes Makefile completion.
(If you're using macOS and Homebrew, you can get this via brew install bash-completion.)
brew install bash-completion