diff Makefile @ 26510:72286971c202

Take Objective C files into account when generating dependencies.
author diego
date Sat, 26 Apr 2008 09:19:41 +0000
parents 94377468b14d
children 31efc4586a2f
line wrap: on
line diff
--- a/Makefile	Sat Apr 26 09:16:15 2008 +0000
+++ b/Makefile	Sat Apr 26 09:19:41 2008 +0000
@@ -606,7 +606,7 @@
 
 include mpcommon.mak
 
-DEPS = $(patsubst %.cpp,%.d,$(patsubst %.c,%.d,$(SRCS_COMMON) $(SRCS_MPLAYER) $(SRCS_MENCODER)))
+DEPS = $(patsubst %.cpp,%.d,$(patsubst %.c,%.d,$(SRCS_COMMON) $(SRCS_MPLAYER:.m=.d) $(SRCS_MENCODER)))
 $(DEPS) recurse: help_mp.h version.h codecs.conf.h
 dep depend: $(DEPS)
 	for part in $(PARTS); do $(MAKE) -C $$part .depend; done