Hi,

We are using make 3.81 under CygWin (Windows XP SP2).

I have the following makefile: "test.make":

------------------8<---------------------
VPATH := ../dir/

all: a

.SECONDARY:

a: b b
   @echo "compile"

../dir/b:

------------------8<---------------------

I am getting the following:

$ mkdir ../dir
$ touch ../dir/b
$ make -f test.make
make: Circular a <- b dependency dropped.
compile
$

Of course a depends on b, but why depends b on a?
When only one b is on the a line, the message isn't shown,
when the .SECONDARY: is missing it isn't shown and when
the b file is placed under ./dir the message is also not shown.

yours sincerely,
   Johannes




_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to