summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ed29fb4cc6..1a3649f607 100644
--- a/Makefile
+++ b/Makefile
@@ -357,12 +357,18 @@ video/out/vo_vdpau.c: 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 \
+ TOOLS/lib/Parse/Matroska/Reader.pm \
+ TOOLS/lib/Parse/Matroska/Utils.pm \
+
demux/ebml.c demux/demux_mkv.c: demux/ebml_types.h
-demux/ebml_types.h: TOOLS/matroska.pl
+demux/ebml_types.h: TOOLS/matroska.pl $(MKVLIB_DEPS)
./$< --generate-header > $@
demux/ebml.c: demux/ebml_defs.c
-demux/ebml_defs.c: TOOLS/matroska.pl
+demux/ebml_defs.c: TOOLS/matroska.pl $(MKVLIB_DEPS)
./$< --generate-definitions > $@
video/out/vo_opengl.c: video/out/vo_opengl_shaders.h