On Sun, Jun 9, 2019 at 7:46 PM Masahiro Yamada <yamada.masah...@socionext.com> wrote: > > On Mon, Jun 10, 2019 at 10:38 AM Paul Smith <psm...@gnu.org> wrote: > > > > On Sun, 2019-06-09 at 18:46 -0400, David A. Wheeler wrote: > > > As syntactic sugar, > > > I'd like to see selected special targets allowed as dependencies. > > > When this happens, it's the same thing as if the target was listed > > > as a dependency of the special target. E.g., you could express > > > the same thing above as: > > > > > > all: .PHONY do-this do-that > > > > That's a cool idea. I can't think of any issues with it. > > > Just talking about Linux Makefiles, > we need to duplicate phony targets anyway > since phony targets are assigned to a variable 'PHONY'. > > For example, like this > https://github.com/torvalds/linux/blob/v5.2-rc4/Makefile#L501 > > (BTW, I think this idea was provided by Paul.) > > > > Besides, this might be an unrelated topic, > is it a good idea to support .PHONY for pattern rules?
I definitely recall wanting this at some point. After a few minutes search I can't find when, where, or why though :) Britton _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make