casper@fwi.uva.nl (Casper H.S. Dik) (06/13/91)
If you use Perl's own malloc, makedepend can't find dependencies
for malloc.o in the subdirectories.
makedepend feeds ../malloc.c to stdin of cpp. cpp's algorithm
used in finding #include "xxx" files depends on the pathname-prefix
of the source file (in Unix implementations).
/usr/lib/cpp ../malloc.c
finds ../perl.h as include file (as in 4.003 makedepend), but
/usr/lib/cpp < ../malloc.c
doesn't. (4.010 makedepend)
This causes make to fail in subdirectories, because malloc.o is never
created.
Casper
--
| Casper H.S. Dik
RELIGION KILLS | casper@fwi.uva.nl