Correcting dependency file generation

Currently dependency files were useless, since object files in them
weren't prefixed with $(OUT). This commit fixes this issue by using
`-MT' argument of C compiler (tested with GCC and clang). See e.g. GCC
documentation for details on how this option works.