changeset 28734:f5d684520107

Add explicit dependencies on generated header files for the object files along with the dependency information files. This fixes a straight build without generating dependency information.
author diego
date Sun, 01 Mar 2009 10:53:37 +0000
parents 702db4355c75
children ec73d66cf714
files Makefile
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun Mar 01 10:52:26 2009 +0000
+++ b/Makefile	Sun Mar 01 10:53:37 2009 +0000
@@ -851,8 +851,9 @@
 
 ###### dependency declarations / specific CFLAGS ######
 
-codec-cfg.d: codecs.conf.h
+codec-cfg.d codec-cfg.o: codecs.conf.h
 mpcommon.d vobsub.d gui/win32/gui.d libmpdemux/muxer_avi.d osdep/mplayer-rc.o stream/network.d stream/stream_cddb.d: version.h
+mpcommon.o vobsub.o gui/win32/gui.o libmpdemux/muxer_avi.o stream/network.o stream/stream_cddb.o: version.h
 $(DEPS): help_mp.h
 
 libdvdcss/%.o libdvdcss/%.d: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.10\" $(CFLAGS_LIBDVDCSS)