Could it be that you use a native Win32 port of make, e.g. the one from 
Mingw or from Gnuwin32? If so, then of course, make does not understand the 
Msys notation, such as /c/temp. With an Msys shell, you should in general 
use only Msys packages and thus the Msys port of make.

Kees Zeelenberg

----- Original Message ----- 
From: "TEW" <[EMAIL PROTECTED]>
To: <gnuwin32-users@lists.sourceforge.net>
Sent: Tuesday, September 11, 2007 10:22 PM
Subject: [GnuWin32-Users] GNU Make bug?


> Hello!
>
> I have found a problem with GNU make and MSYS/MinGW.
> The problem occure when using gnu-make 3.80 and abowe.
> (with GNU-make v3.79.1 it works fine!)
>
> A simple Makefile that you can verify the problem.
>
> Makefile
> =======
> MYPATH = /c/temp
> MYINCLUDE = Rule.mak
>
> include $MYPATH/$MYINCLUDE
>
> step1: step2
>    @echo "== STEP 1 =="
>
> Rule.mak
> ======
> step2:
>    @echo "== STEP 2 =="
>
>
> If you use the make version 3.79.1 you get
> $ make step1
> == STEP 2 ==
> == STEP 1 ==
>
> If you use the make version 3.80 or abowe you get
> $ make step1
> Makefile:4: /c/temp/Rule.mak: No such file or directory
> .....
>
> To get it work together with GNU-make 3.80 and abowe is to use
> Windows/PC style path notation
> You must use
> MYPATH = C:/temp
> insted of
> MYPATH = /c/temp
>
> Is it a bug in GNU make for Win32?
>
> TEW
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> GnuWin32-Users mailing list
> GnuWin32-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gnuwin32-users
>
>
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to