[gnu.utils.bug] Make 3.44 VPATH problem

mike@yunexus.yorku.ca (Mike Marques) (04/01/89)

I believe a previous posting about a bug on VPATH is related to this problem.
I tried to come up with a simple and clear example:

Sun UNIX 4.2 Release 3.5EXPORT 

yunexus% ls -R
Makefile	Makefile~	one		two

one:
cfile.c

two:
anothercfile.c
yunexus% cat Makefile
VPATH=one:two

all: cfile anothercfile

cfile: cfile.c
	cc -c $^

anothercfile: anothercfile.c
	cc -c $^
yunexus% make -v
GNU Make version 3.29, by Richard Stallman and Roland McGrath.
Copyright (C) 1988 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

cc -c one/cfile.c
cc -c two/anothercfile.c
yunexus% ls
Makefile	anothercfile.o	one
Makefile~	cfile.o		two
yunexus% rm *.o
yunexus% /usr2/sys/mike/make-3.44/make -v
GNU Make version 3.44, by Richard Stallman and Roland McGrath.
Copyright (C) 1988, 1989 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

cc -c cfile.c
cpp: cfile.c: No such file or directory
make: *** Error 2
yunexus% 

Hope this is clear enough please let me know if this is really a bug
or something has changed in between versions.

								Mike


--
Mike Marques                         | Usenet: ......!utzoo!yunexus!mike 
York University (Computing Services) |         mike@nexus.yorku.ca
-------------------------------------| Bitnet: mike@libra.yorku.ca
Only visiting this planet...         | Voice:  (416) 736-5257