summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-06 10:08:19 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-06 10:08:19 +0000
commitd226b09b2cdfaad0face62079a586ae877355dd9 (patch)
tree8c16c05c7765eccf3286248804a82d8db21e81d4 /Makefile
parent9ceb70782b69af5c9e8415415a12b7fb85860786 (diff)
downloadmpv-d226b09b2cdfaad0face62079a586ae877355dd9.tar.bz2
mpv-d226b09b2cdfaad0face62079a586ae877355dd9.tar.xz
Generate dependency information as a sideeffect of compilation.
This speeds up compilation times, simplifies the code and fixes dependency file generation in libav*. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31026 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 0 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 0f0d64c519..6d67abaeb6 100644
--- a/Makefile
+++ b/Makefile
@@ -831,15 +831,6 @@ FFMPEGFILES = $(foreach part, $(FFMPEGPARTS), $(wildcard $(part)/*.[chS] $(part)
all: $(ALL_PRG-yes)
-%.d: %.c
- $(MPDEPEND_CMD) > $@
-
-%.d: %.cpp
- $(MPDEPEND_CMD_CXX) > $@
-
-%.d: %.m
- $(MPDEPEND_CMD) > $@
-
%.ho: %.h
$(CC) $(CFLAGS) -Wno-unused -c -o $@ -x c $<