help-make
[Top][All Lists]
Advanced

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

-W does not work with vpath


From: Maciej Walezak
Subject: -W does not work with vpath
Date: Wed, 26 Jun 2002 10:59:02 +0200

Hello there,

My makefile looks like this:

vpath %.c src
file.o: file.c
        cp $< $@

The file "file.c" is in "src" directory. Now consider the following sequence of 
commands:

$ make
cp src/file.c file.o
$ make -W src/file.c 
make: `file.o' is up to date.

It looks like -W does not work for files found via vpath directive. Is it a bug 
or a feature?

greetings
--
Maciej Walezak
-GDN-



reply via email to

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