summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2014-05-08 12:11:09 +0200
committerLars-Dominik Braun <lars@6xq.net>2014-05-08 12:11:09 +0200
commitc91c79fb67304ba080a869ad05d58715fbc6ddc8 (patch)
tree635ea155e1d24b26eb80ac16216d76c10f6b30a9
parentfc12245b0398ac0422edf7badc12fd30746a4bb5 (diff)
downloadpianobar-windows-c91c79fb67304ba080a869ad05d58715fbc6ddc8.tar.gz
pianobar-windows-c91c79fb67304ba080a869ad05d58715fbc6ddc8.tar.bz2
pianobar-windows-c91c79fb67304ba080a869ad05d58715fbc6ddc8.zip
Makefile: Improve libav selection
See #447.
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 85594b4..b228a5e 100644
--- a/Makefile
+++ b/Makefile
@@ -6,9 +6,13 @@ LIBDIR:=${PREFIX}/lib
INCDIR:=${PREFIX}/include
MANDIR:=${PREFIX}/share/man
DYNLINK:=0
-# choose your libav implementation.
-# supported: ffmpeg2.2, ffmpeg2.1, ffmpeg1.2, libav10, libav9
-LIBAV:=undefined
+# Choose the libav implementation your system is using by uncommenting one line
+# below. These versions are supported:
+#LIBAV:=ffmpeg2.2
+#LIBAV:=ffmpeg2.1
+#LIBAV:=ffmpeg1.2
+#LIBAV:=libav10
+#LIBAV:=libav9
# Respect environment variables set by user; does not work with :=
ifeq (${CFLAGS},)
@@ -100,7 +104,7 @@ EXTRA_CFLAGS:=
else ifeq (${LIBAV}, libav9)
EXTRA_CFLAGS:=
else
-$(error Please choose a valid libav implementation by setting LIBAV)
+$(error Please choose a valid libav implementation at the top of this file)
endif
# combine all flags