blob: fc520f7bc413632926c91c63c9669a46c005c8b8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
if EXAMPLES
noinst_PROGRAMS = simple
simple_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/../src
simple_LDADD = ../src/libtuberia.a
simple_LDFLAGS = -lpthread
simple_SOURCES = simple.c
if HAS_FFMPEG
noinst_PROGRAMS += decode_resize_encode
decode_resize_encode_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/../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
endif
exampledir = $(docdir)/example
example_DATA = simple.c decode_resize_encode.c
|