%% David Parrott <[EMAIL PROTECTED]> writes: dp> I noticed today that if I use $(wildcard) on a path or file which dp> contains spaces on Microsoft Windows, it does not work even if I dp> place the full path in quotes. The wildcard never returns any file dp> names.
The short answer is that GNU make doesn't support filenames with spaces in them. The slightly longer answer is that GNU make uses whitespace as a word delimiter, and there is NO reliable way to quote whitespace in words in all the different places where make chops up lists. In this case, the arguments to wildcard are a list of filename patterns to be matched; an invocation like $(wildcard C:\My Programs\*.exe) will match TWO patterns: the first one "C:\My" and the second one "Programs\*.exe". -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make