Merging the postbeta2 branch onto the mainline.
[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
6
7 noinst_PROGRAMS = decoder_example encoder_example chaining_example\
8                 vorbisfile_example
9
10 LDADD = $(top_srcdir)/lib/.libs/libvorbis.a
11
12 decoder_example_SOURCES = decoder_example.c
13 encoder_example_SOURCES = encoder_example.c
14 chaining_example_SOURCES = chaining_example.c
15 chaining_example_LDADD = $(top_srcdir)/lib/.libs/libvorbisfile.a $(top_srcdir)/lib/.libs/libvorbis.a
16 vorbisfile_example_SOURCES = vorbisfile_example.c
17 vorbisfile_example_LDADD = $(top_srcdir)/lib/.libs/libvorbisfile.a $(top_srcdir)/lib/.libs/libvorbis.a
18
19 debug:
20         $(MAKE) all CFLAGS="@DEBUG@"
21
22 profile:
23         $(MAKE) all CFLAGS="@PROFILE@"