How do you get the list of targets in a makefile? October 2, 2022 by Tarik Under Bash (at least), this can be done automatically with tab completion: make spacetabtab