> Date: Sat, 30 Dec 2006 20:54:06 +0100
> From: "Peter Dons Tychsen" <[EMAIL PROTECTED]>
> 
> There seams to be a problem with make on windows concerning pattern
> rules.
> For all versions of make (including current), the following is odd:
> 
> This rule works fine:
> 
> %.o: %.c
> 
> This rule breaks down:
> 
> obj\%.o: src\%.c
> 
> The same rule works on linux and cygwin (but of course here i use "/"
> instead of "\".
> My guess is that it is the backslash in the rule which causes the
> breakdown.

Yes, probably.  I suggest to use a forward slash as a workaround.
Windows handles forward slashes just fine (except that you might need
to quote file names in some cases).

> This should however be handled correctly on windows... no ?

It cannot be fixed easily, as the backslash is required to be able to
use a literal percent character.


_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32

Reply via email to