Wed 24 Jan 2007 03:56:39 PM UTC, original submission:
Reopening bug 17105 (didn't find a way to do that, and didn't find any other bug for this problem)
Example makefile:
------- begin ---------
all: c:/myfile.txt
echo "yes"
------- end -----------
Expected output
------- begin ---------
make: *** No rule to make target `c:/myfile.txt', needed by `all'. Stop.
------- end -----------
Actual output:
------- begin ---------
Makefile:1: *** target pattern contains no `%'. Stop.
------- end -----------
Environment (Windows XP SP2):
------- begin ---------
$ uname -a
CYGWIN_NT-5.1 <hostname> 1.5.23(0.156/4/2) 2006-12-19 10:52 i686 Cygwin
------- end -----------
Version, freshly built from the make-3.81 source archive:
------- begin ---------
$ make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i686-pc-cygwin
------- end -----------
Cygwin seem to have a patched version, linked from http://cygwin.com/ml/cygwin/2006-09/msg00153.html
GCC on Cygwin produces such dependency entries with its -MF option.
|