[MPlayer-cvslog] r26520 - trunk/Makefile

diego subversion at mplayerhq.hu
Thu Apr 24 19:41:19 CEST 2008


Author: diego
Date: Thu Apr 24 19:41:19 2008
New Revision: 26520

Log:
Include mpcommon.mak before declaring dependencies, which require mpcommon.mak.


Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Thu Apr 24 19:41:19 2008
@@ -489,13 +489,16 @@ all:	recurse $(ALL_PRG)
 recurse:
 	for part in $(PARTS); do $(MAKE) -C $$part; done
 
+# Hack to keep .depend from being generated at the top level unnecessarily.
+DEPS = foo
+
+include mpcommon.mak
+
 DEPS = $(SRCS_COMMON:.c=.d) $(SRCS_MPLAYER:.c=.d) $(SRCS_MENCODER:.c=.d)
 $(DEPS) recurse: help_mp.h version.h codecs.conf.h
 dep depend: $(DEPS)
 	for part in $(PARTS); do $(MAKE) -C $$part .depend; done
 
-include mpcommon.mak
-
 CFLAGS := $(subst -I..,-I.,$(CFLAGS))
 
 define RECURSIVE_RULE



More information about the MPlayer-cvslog mailing list