fix automatic dependency generation for files in subdirectories, gcc spi...

...ts out the wrong dependencies, see: http://scottmcpeak.com/autodepend/autodepend.html (One More Tweak)