bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

automatic variables can't handle spaces in pathnames


From: Stephen Huntley
Subject: automatic variables can't handle spaces in pathnames
Date: Wed, 19 Jun 2002 18:04:44 -0500

Using make 3.79.1 on win32.  Same results using cmd.exe and sh.exe (zsh port
to windows)

I create a directory named D:/a b

Create two files: target.txt and prereq.txt

Makefile contents:
D:/a\ b/target.txt : D:/a\ b/prereq.txt
        echo $@
        echo $(@D)
        echo $(@F)

make output:
echo D:/a b/target.txt
D:/a b/target.txt
echo D: b
D: b
echo a target.txt
a target.txt

Inexplicable and bewildering.



------------------------------------------

Steve Huntley
address@hidden
http://www.win.net/~blacksqr













reply via email to

[Prev in Thread] Current Thread [Next in Thread]