Re: trailing comments prevent whitespace removal

2025-03-10 Thread Paul Smith
On Mon, 2025-03-10 at 12:38 -0800, Britton Kerin wrote: > I would expect make to remove trailing comments and then strip > surrounding white space from variable definitions as usual but it > seems that the comments prevent further stripping: Comments don't prevent stripping; values in assignments

trailing comments prevent whitespace removal

2025-03-10 Thread Britton Kerin
I would expect make to remove trailing comments and then strip surrounding white space from variable definitions as usual but it seems that the comments prevent further stripping: $ cat Makefile # a classic var FOO = foo BAR = bar # and another but commented differently echo_some_vars:

Re: order-only prerequisites themselves get rebuilt when not needed

2025-03-10 Thread Paul Smith
On Sat, 2025-03-08 at 11:34 -0900, Britton Kerin wrote: > What confuses me is that since the explicitly requested foo exists > and isn't out of date with respect to any non-order-only prereqs (in > the example it doesn't have any) and therefore isn't getting rebuilt, > I wouldn't expect there to be