summaryrefslogtreecommitdiffstats
path: root/mpcommon.mak
diff options
context:
space:
mode:
Diffstat (limited to 'mpcommon.mak')
-rw-r--r--mpcommon.mak11
1 files changed, 1 insertions, 10 deletions
diff --git a/mpcommon.mak b/mpcommon.mak
index 342a3351d9..1809074495 100644
--- a/mpcommon.mak
+++ b/mpcommon.mak
@@ -27,10 +27,7 @@ clean::
rm -f *.o *.a *.ho *~
distclean:: clean
- rm -f *.d .depend test test2
-
-.depend: $(SRCS_COMMON) $(SRCS_MPLAYER) $(SRCS_MENCODER)
- $(MPDEPEND_CMD) > $@
+ rm -f *.d test test2
%.d: %.c
$(MPDEPEND_CMD) > $@
@@ -50,10 +47,4 @@ distclean:: clean
ALLHEADERS = $(wildcard *.h)
checkheaders: $(ALLHEADERS:.h=.ho)
-# Hack to keep .depend from being generated at the top level unnecessarily.
-ifndef DEPS
-DEPS = .depend
-endif
--include $(DEPS)
-
.PHONY: libs *clean dep depend