summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2012-07-01 12:15:32 +0300
committerMartin Storsjo <martin@martin.st>2012-09-13 23:27:27 +0300
commitbf0d9ddc43b25f0fb56ed69ff72d1c37c29e2db6 (patch)
tree6000aac50369411458eb5b9ee9241cf4b7d04fb2 /Makefile.am
parent923f3e95f3e332d26f03cf6782f0ab61596ceef2 (diff)
downloadODR-AudioEnc-bf0d9ddc43b25f0fb56ed69ff72d1c37c29e2db6.tar.gz
ODR-AudioEnc-bf0d9ddc43b25f0fb56ed69ff72d1c37c29e2db6.tar.bz2
ODR-AudioEnc-bf0d9ddc43b25f0fb56ed69ff72d1c37c29e2db6.zip
Add an encoder example
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 9743bfa..319cc0c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -32,6 +32,15 @@ lib_LTLIBRARIES = libfdk-aac.la
libfdk_aac_la_LDFLAGS = -version-info @FDK_AAC_VERSION@ -no-undefined \
-export-symbols $(top_srcdir)/fdk-aac.sym
+if EXAMPLE
+bin_PROGRAMS = aac-enc$(EXEEXT)
+
+aac_enc_LDADD = libfdk-aac.la
+aac_enc_SOURCES = aac-enc.c wavreader.c
+
+noinst_HEADERS = wavreader.h
+endif
+
AACDEC_DIR = $(top_srcdir)/libAACdec/src
AACDEC_SRC = \
$(AACDEC_DIR)/aacdec_drc.cpp \