53db4027887bbf7bd36b8969c9c7d94eceab5f0d
[platform/upstream/libvorbis.git] / examples / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 AUTOMAKE_OPTIONS = foreign
4
5 INCLUDES = -I$(top_srcdir)/include @OGG_CFLAGS@
6
7 noinst_PROGRAMS = decoder_example encoder_example chaining_example\
8                 vorbisfile_example seeking_example
9
10 # uncomment to build static executables from the example code
11 #LDFLAGS = -all-static 
12 LDADD = ../lib/libvorbis.la 
13
14 decoder_example_SOURCES = decoder_example.c
15 encoder_example_SOURCES = encoder_example.c
16 encoder_example_LDADD = ../lib/libvorbisenc.la ../lib/libvorbis.la 
17 chaining_example_SOURCES = chaining_example.c
18 chaining_example_LDADD = ../lib/libvorbisfile.la ../lib/libvorbis.la 
19 vorbisfile_example_SOURCES = vorbisfile_example.c
20 vorbisfile_example_LDADD = ../lib/libvorbisfile.la ../lib/libvorbis.la 
21 seeking_example_SOURCES = seeking_example.c
22 seeking_example_LDADD = ../lib/libvorbisfile.la ../lib/libvorbis.la 
23
24 debug:
25         $(MAKE) all CFLAGS="@DEBUG@"
26
27 profile:
28         $(MAKE) all CFLAGS="@PROFILE@"