[MPlayer-cvslog] r28770 - trunk/Makefile

diego subversion at mplayerhq.hu
Sun Mar 1 12:03:18 CET 2009


Author: diego
Date: Sun Mar  1 12:03:18 2009
New Revision: 28770

Log:
Make all object files depend on generated header files.
This solution does not record precise dependencies but is robust
against header dependency changes.

Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	Sun Mar  1 11:53:37 2009	(r28769)
+++ trunk/Makefile	Sun Mar  1 12:03:18 2009	(r28770)
@@ -851,10 +851,8 @@ version.h: version.sh
 
 ###### dependency declarations / specific CFLAGS ######
 
-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
+# Make sure all generated header files are created.
+$(DEPS) $(MENCODER_DEPS) $(MPLAYER_DEPS): codecs.conf.h help_mp.h version.h
 
 libdvdcss/%.o libdvdcss/%.d: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.10\" $(CFLAGS_LIBDVDCSS)
 libdvdnav/%.o libdvdnav/%.d: CFLAGS += -D__USE_UNIX98 -D_GNU_SOURCE -DHAVE_CONFIG_H -DVERSION=\"MPlayer-custom\"



More information about the MPlayer-cvslog mailing list