Makefile, common.mak: Create .d files when creating corresponding .o
commit2a6178e5aba3b53783ee3d36c32d3280d8ce67ac
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Sat, 6 Dec 2008 02:41:45 +0000 (6 04:41 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Sat, 6 Dec 2008 03:33:33 +0000 (6 05:33 +0200)
tree9607147de2a4a09febf5e7afef3e573f0306b7e4
parentb37a869f130a5246d4c98f532d07b73146672c95
Makefile, common.mak: Create .d files when creating corresponding .o

The separate .d file creation logic has caused various problems, most
notably cases where 'make' exits without doing anybut but without
giving any error either. Change the Makefile so that .d files are
always created or updated when the corresponding .o file is. This
avoids the problems of current .d file generation and still gives
correct dependencies.

The common.mak change does the same for the libswscale build. However
it does not affect the directories under ffmpeg/ because those use
ffmpeg/common.mak. The MPlayer common.mak can be copied over the
ffmpeg/common.mak file to make the fix apply to the FFmpeg directories
too. This is not done automatically because the FFmpeg file is under
version control and changing it could cause problems.
Makefile
common.mak