aboutsummaryrefslogtreecommitdiff
path: root/example/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'example/Makefile.am')
-rw-r--r--example/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/example/Makefile.am b/example/Makefile.am
index 5043e21..5270584 100644
--- a/example/Makefile.am
+++ b/example/Makefile.am
@@ -1,7 +1,12 @@
+if EXAMPLES
noinst_PROGRAMS = decode_resize_encode
decode_resize_encode_CFLAGS = $(AM_CFLAGS) -I../src
decode_resize_encode_LDADD = ../src/libtuberia.a
decode_resize_encode_LDFLAGS = -lpthread -lavcodec -lavformat -lavutil -lswscale
decode_resize_encode_SOURCES = decode_resize_encode.c
+endif
+
+exampledir = $(docdir)/example
+example_DATA = decode_resize_encode.c