I have read in the archives that there is special code in make to detect windows drive letters in file names followed by a colon. (This code seems to live in w32/pathstuff.c)
I am trying to use make-3.80 built for msys (config patch and make.exe binary here: http://visual-mingw.sourceforge.net/zip/make-3.80/msys/ ) with a Makfile that includes dependencies containing drive letters and colons, but I get the "multiple target patterns" error message from make. It looks like this make does not contain the code to detect drive letters. Drive letter detection works ok with make-3.79.1 (msys) with the same Makefile. How can I activate this drive letter code in make-3.80? Regards, Tobias Example: Makefile with just 1 rule: $ echo "1" > component1 $ echo "2" > component2 $ pwd /home/t-herzke/test $ cmd /c cd C:\Programme\msys\1.0\home\t-herzke\test $ cat Makefile target: component1 c:/Programme/msys/1.0/home/t-herzke/test/component2 cat $^ >$@ $ make # this is make-3.79.1 and works ok cat component1 c:/Programme/msys/1.0/home/t-herzke/test/component2 >target $ cat target 1 2 $ rm target $ make-3.80 Makefile:1: *** multiple target patterns. Stop. $ make -v GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. Built for i686-pc-msys Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 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. Report bugs to <[email protected]>. [EMAIL PROTECTED] ~/test $ make-3.80 -v GNU Make 3.80 Copyright (C) 2002 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. _______________________________________________ Make-w32 mailing list [email protected] http://lists.gnu.org/mailman/listinfo/make-w32
