> From: Erasmo Aguilera <eaguile...@hotmail.com>
> Date: Thu, 16 Jun 2016 18:35:17 -0600
> 
> I am working on a project with two directory trees: one for sources and 
> another for output files. I run
> mingw-make from the source tree and add the output tree root to VPATH so that 
> their files can be found when
> acting as prerequisites. But it doesn’t so when such prerequisites specify 
> their path from the root with forward
> slashes. It gives me the error “cannot open input file”. However, if I change 
> the forward slashes for
> backslashes, then it works.
> 
> I suppose this should not be happening for portability reasons.

What version of Make are you using?

Please also provide some small self-contained example of a Makefile
where VPATH doesn't work with forward slashes.  It should work;
there's code in Make to support both forward- and back-slashes on
Windows in VPATH lists.  So maybe you are using an old version, or
maybe there's some other factor at work here.  An example will go a
long way towards discovering the reason(s).

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

Reply via email to