On Thu, 2016-10-06 at 10:26 -0700, Kyle Rose wrote:
> This is not a weird or contrived use case: this is wildcard not
> finding targets in a recipe executed after they've been built as
> explicit prerequisites.

I discovered the difference.  If you put the makefile in a different
directory, like this:

      cd $HOME
      cp Makefile /tmp
      make -f /tmp/Makefile

Or if you list it explicitly but disable built-in rules, like this:

     cd $HOME
     make -rf Makefile

then it works as expected.  Otherwise it fails as you see.

Clearly there's a bug here.  I'll look into it.

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to