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

Reply via email to