summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2012-07-28 17:31:55 +0200
committerwm4 <wm4@mplayer2.org>2012-07-28 20:44:07 +0200
commitf53dcf163da2d94b7fd2b1257ede8cf91e6ce301 (patch)
tree00fb0d0eaf1d8dfc48280f5db2982ca40e7dae1f /Makefile
parent51e198c2a1e43b74ad35ef358628dcd8791158d9 (diff)
downloadmpv-f53dcf163da2d94b7fd2b1257ede8cf91e6ce301.tar.bz2
mpv-f53dcf163da2d94b7fd2b1257ede8cf91e6ce301.tar.xz
build: remove bin_to_header.py and use TOOLS/file2string.py instead
TOOLS/file2string.py was recently added upstream, so bin_to_header.py is not needed anymore. Also fix vo_gl3.c, since file2string.py works slightly different from my script.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ffec492a44..055e7d2c39 100644
--- a/Makefile
+++ b/Makefile
@@ -608,8 +608,8 @@ libmpdemux/ebml_types.h: TOOLS/matroska.py
libmpdemux/ebml_defs.c: TOOLS/matroska.py
./$< --generate-definitions > $@
-libvo/vo_gl3_shaders.h: libvo/vo_gl3_shaders.glsl
- python ./bin_to_header.py $^ $@
+libvo/vo_gl3_shaders.h: TOOLS/file2string.py libvo/vo_gl3_shaders.glsl
+ ./$^ >$@
libvo/vo_gl3.c: libvo/vo_gl3_shaders.h