summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-29 00:58:44 +0200
committerwm4 <wm4@nowhere>2013-07-29 00:59:07 +0200
commitfece4e3053b7be7b5d736a9609bb2b1b8deef4bd (patch)
treebfb9c0c5acde42683bb0ef13c6f5f051e046e752 /Makefile
parent050997addff73aef98e2d469d57e62f58192e506 (diff)
downloadmpv-fece4e3053b7be7b5d736a9609bb2b1b8deef4bd.tar.bz2
mpv-fece4e3053b7be7b5d736a9609bb2b1b8deef4bd.tar.xz
build: fix build with vdpau, simplify
Instead of generating vdpau_template.c with a Perl script, just include the generated file in git. This is ok because it changes very rarely, and the script is larger than the output it generates. It also simplify the Makefile, and fixes the build. The problem was that transitive dependencies do not work with generated files: there is no dependency information yet when building it the first time. I overlooked this because I didn't delete the .d files for testing (which contained the correct dependencies, but only _after_ a first successful build).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 900e7db136..7d70836a55 100644
--- a/Makefile
+++ b/Makefile
@@ -349,10 +349,6 @@ core/input/input.c: core/input/input_conf.h
core/input/input_conf.h: TOOLS/file2string.pl etc/input.conf
./$^ >$@
-video/vdpau.h: video/out/vdpau_template.c
-video/out/vdpau_template.c: TOOLS/vdpau_functions.pl
- ./$< > $@
-
MKVLIB_DEPS = TOOLS/lib/Parse/Matroska.pm \
TOOLS/lib/Parse/Matroska/Definitions.pm \
TOOLS/lib/Parse/Matroska/Element.pm \