changeset 18014:0d380174f01f

10l: version.h was not being built in some odd cases
author rfelker
date Sun, 02 Apr 2006 07:18:53 +0000
parents 4cfe6a25ccfc
children 86bf841af3e7
files Makefile
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun Apr 02 03:22:32 2006 +0000
+++ b/Makefile	Sun Apr 02 07:18:53 2006 +0000
@@ -440,7 +440,7 @@
 codecs2html: mp_msg.o
 	$(CC) -DCODECS2HTML codec-cfg.c mp_msg.o -o $@
 
-$(PRG_CFG): version.h codec-cfg.c codec-cfg.h help_mp.h
+$(PRG_CFG): codec-cfg.c codec-cfg.h help_mp.h
 	$(HOST_CC) $(HOST_CFLAGS) -I. codec-cfg.c -o $(PRG_CFG) \
 	-DCODECS2HTML $(EXTRA_LIB) $(EXTRA_INC)
 
@@ -567,6 +567,9 @@
 #endif
 version.h: config.h config.mak Makefile
 
+# explicit dependencies to force version.h to be built even if .depend is missing
+mplayer.o mencoder.o vobsub.o: version.h
+
 #
 # the following lines provide _partial_ dependency information
 # for the 'library' directories under main dir, in order to cause