diff --git a/doc/examples/Makefile b/doc/examples/Makefile index 4d6c7a8be6..3b70f66fb2 100644 --- a/doc/examples/Makefile +++ b/doc/examples/Makefile @@ -1,9 +1,19 @@ # use pkg-config for getting CFLAGS abd LDFLAGS -FFMPEG_LIBS=libavdevice libavformat libavfilter libavcodec libswscale libavutil +FFMPEG_LIBS= libavdevice \ + libavformat \ + libavfilter \ + libavcodec \ + libswscale \ + libavutil \ + CFLAGS+=-Wall $(shell pkg-config --cflags $(FFMPEG_LIBS)) LDFLAGS+=$(shell pkg-config --libs $(FFMPEG_LIBS)) -EXAMPLES=decoding_encoding filtering_video filtering_audio metadata muxing +EXAMPLES= decoding_encoding \ + filtering_video \ + filtering_audio \ + metadata \ + muxing \ OBJS=$(addsuffix .o,$(EXAMPLES))