Yes but the Perl option is not good enough when there are dynamically generated targets or when there are includes.
On Fri, Apr 2, 2021 at 6:01 AM 積丹尼 Dan Jacobson <jida...@jidanni.org> wrote: > >>>>> "PD" == Pete Dietl <petedi...@gmail.com> writes: > PD> Perhaps a better option would be to make an option to list all > PD> targets. > > That would just be e.g., > perl -nwle 'print for /^\w+:/g;' > > PD> Then one can grep to select ones in any which way. > > Well OK, I guess all this won't be needing make to add such features then. >