diff mpcommon.mak @ 26430:a6a95779d80b

Always generate dependency information. This also allows dropping the hackish list of incorrect pseudo-dependencies.
author diego
date Fri, 18 Apr 2008 21:46:52 +0000
parents bd6f5e7c0d37
children 7f5696224182
line wrap: on
line diff
--- a/mpcommon.mak	Fri Apr 18 17:26:00 2008 +0000
+++ b/mpcommon.mak	Fri Apr 18 21:46:52 2008 +0000
@@ -27,8 +27,8 @@
 distclean:: clean
 	rm -f .depend test test2
 
-dep depend:: $(SRCS_COMMON) $(SRCS_MPLAYER) $(SRCS_MENCODER)
-	$(MPDEPEND_CMD) > .depend
+.depend: $(SRCS_COMMON) $(SRCS_MPLAYER) $(SRCS_MENCODER)
+	$(MPDEPEND_CMD) > $@
 
 %.ho: %.h
 	$(CC) $(CFLAGS) -Wno-unused -c -o $@ -x c $<