summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-07-15 14:07:31 -0300
committerMarcel Holtmann <marcel@holtmann.org>2012-07-29 20:01:50 -0700
commit15c685f43c69ad249dd778a6618f002105558c12 (patch)
treee4fae78f1954d5f43d21e1bb3915d3b590f1aee1 /Makefile.am
parentff95a6c45fd7f6cddab7e0505a4d61770e35f4cb (diff)
downloadsbc-15c685f43c69ad249dd778a6618f002105558c12.tar.gz
build: Add support for building SBC tester
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index eb5d0f6..730fb5a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,7 +24,13 @@ src_sbcdec_LDADD = sbc/libsbc-private.la
src_sbcenc_SOURCES = src/sbcenc.c src/formats.h
src_sbcenc_LDADD = sbc/libsbc-private.la
-AM_CFLAGS = -finline-functions -fgcse-after-reload \
+if SBCTESTER
+noinst_PROGRAMS = src/sbctester
+
+src_sbctester_LDADD = @SNDFILE_LIBS@ -lm
+endif
+
+AM_CFLAGS = @SNDFILE_CFLAGS@ -finline-functions -fgcse-after-reload \
-funswitch-loops -funroll-loops
MAINTAINERCLEANFILES = Makefile.in \