summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-10-12 10:41:41 +0200
committerwm4 <wm4@nowhere>2012-10-13 10:37:32 +0200
commitb7b804926a5154be424a1cba983ace626abb2198 (patch)
tree339fd60b53ef380cd5b14d7ffadb440d1d60ef21 /Makefile
downloadmpv-build-b7b804926a5154be424a1cba983ace626abb2198.tar.bz2
mpv-build-b7b804926a5154be424a1cba983ace626abb2198.tar.xz
Initial commit
This is based on mplayer-git [1], except that it doesn't need Python. Some features, such as specifying custom options, are not available, but these should be considered out of the scope of the basic build wrapper. [1] http://repo.or.cz/w/mplayer-build.git
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..7b132b1
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,33 @@
+mpv: ffmpeg libass
+ scripts/mpv-config
+ $(MAKE) -C mpv
+
+mpv-config:
+ scripts/mpv-config
+
+ffmpeg-config:
+ scripts/ffmpeg-config
+
+ffmpeg: ffmpeg-config
+ $(MAKE) -C ffmpeg_build install
+
+libass-config:
+ scripts/libass-config
+
+libass: libass-config
+ $(MAKE) -C libass install
+
+noconfig:
+ $(MAKE) -C ffmpeg_build install
+ $(MAKE) -C libass install
+ $(MAKE) -C mpv
+
+install:
+ $(MAKE) -C mpv install
+
+clean:
+ -rm -rf ffmpeg_build build_libs
+ -$(MAKE) -C libass distclean
+ -$(MAKE) -C mpv distclean
+
+.PHONY: mpv-config mpv ffmpeg-config ffmpeg libass-config libass noconfig install clean