> From: Paul Smith <psm...@gnu.org> > Date: Tue, 28 Sep 2010 09:05:20 -0400 > Cc: bug-make@gnu.org > > However, your makefile is wrong and that's why it's failing for you in > GNU make 3.81. I have no idea why it works in Windows; if it does > that's a bug in the Windows version of make, IMO.
I'm guessing that the difference in behavior between Windows and Posix platforms is because this Makefile uses backslashes on Windows. That causes Make to hash the entire filename with the leading directories, and they then compare not equal with just the file name (without the leading directories). Using forward slashes on Windows as well will make the behavior on GNU/Linux and Windows the same. _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make