On Sat, Aug 20, 2022 at 5:52 AM Masahiro Yamada <masahi...@kernel.org> wrote: > I appreciate GNU Make normalize the path > by removing "./" > > This is helpful in some cases, but I think it is a bad side-effect > in this case.
Is there a reason to treat './foo.x' as different from 'foo.x'? > If this is a bug, I can file for it. > Or, any workaround exists? It is not clear what you need to achieve. Can you use an explicit rule like foo.x: foo.z ? Do you need make to perform a directory search for foo.x and foo.z in various directories? In this case i'd look for vpath. regards, Dmitry