Follow-up Comment #18, bug #15757 (project make):

Hi.  I can now reproduce this problem, even on Linux, using the following
setup:

mkdir t1 t2
touch t1/rules.mk
cd t2
cat > Makefile <<EOF
VPATH = ../t1
include rules.mk
.PHONY: all
all: foo.x
foo.x : rules.mk ; @echo cp $< $@
rules.mk : MYVAR = foo
.INTERMEDIATE: foo.x rules.mk
EOF

Now, still from inside t2, run:
make -I ../t1

and it will loop forever.  The settings for .INTERMEDIATE, target-specific
variables, etc. are very particular, to force make into a specific codepath. 
I'll look at this more later tonight.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=15757>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



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

Reply via email to