The following perl snippet will fix this:
$ perl -i.orig -p -e 's{/[^\s]+}{};s{^[^:]+:\s*$}{}' Make-depend
If by some chance you don't have Perl on your system, but you have
"sed", then the Perl command can be replaced with the following two
lines:
$ mv Make-depend Make-depend.orig
$ sed -e 's/\/[^ ][^ ]*//' -e 's/^[^:][^:]*:[ ]$//' Make-depend.orig > Make-depend
-- Matthew D. Langston SLD, Stanford Linear Accelerator Center langston@SLAC.Stanford.EDU