Fixed a bug with reading of indirectly generated .d files

 * Glob-pattern (*.d) is used for finding all .d-files as oppossed to the
   previous solution which only replaced the suffix of the specified source
   files.
Added explicit prereq for OBJDIR to target all.