I have come across a puzzling problem while building with make.

make all

While building the targets, make eventually comes to building
foo.o, but quits with an error, that it cannot find foo.cpp .

However, when I now do, again, at the OS prompt:

make all

make picks up where it left off, and  succeeds; the echo of the command
shows that make
is correctly using  .../src/foo.cpp  through the vpath directives.

My question is, why did make not find .../src/foo.cpp  in the course
of the original invokation of make?
-- 
View this message in context: 
http://old.nabble.com/Inconsistent-use-of-vpath-tp33951080p33951080.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.


_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to