Home | History | Annotate | Download | only in examples
      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 EXTRA_DIST = frameview.pl
     11 
     12 # uncomment to build static executables from the example code
     13 #LDFLAGS = -all-static 
     14 
     15 decoder_example_SOURCES = decoder_example.c
     16 decoder_example_LDADD = $(top_builddir)/lib/libvorbis.la 
     17 
     18 encoder_example_SOURCES = encoder_example.c
     19 encoder_example_LDADD = $(top_builddir)/lib/libvorbisenc.la $(top_builddir)/lib/libvorbis.la 
     20 
     21 chaining_example_SOURCES = chaining_example.c
     22 chaining_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la 
     23 
     24 vorbisfile_example_SOURCES = vorbisfile_example.c
     25 vorbisfile_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la 
     26 
     27 seeking_example_SOURCES = seeking_example.c
     28 seeking_example_LDADD = $(top_builddir)/lib/libvorbisfile.la $(top_builddir)/lib/libvorbis.la 
     29 
     30 debug:
     31 	$(MAKE) all CFLAGS="@DEBUG@"
     32 
     33 profile:
     34 	$(MAKE) all CFLAGS="@PROFILE@"
     35