ref: e8b6394e5aca32ae1db8cd02b0dbf508274e07a0
parent: f207cef625d04330af6b57dc5ee6288d0c662d0a
author: Timothy B. Terriberry <[email protected]>
date: Sun Sep 16 15:06:14 EDT 2012
Remove libm altogether. It's not actually used by the examples anymore.
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -34,7 +34,7 @@
LIBS = `pkg-config --libs ogg opus`
#TODO: tests
-SEEKING_EXAMPLE_LIBS = -lm
+FOO_LIBS =
# ANYTHING BELOW THIS LINE PROBABLY DOES NOT NEED EDITING
CINCLUDE := -I../include ${CINCLUDE}
@@ -119,14 +119,14 @@
# opusfile_example
${OPUSFILE_EXAMPLE_TARGET}: ${OPUSFILE_EXAMPLE_OBJS} ${LIBOPUSFILE_TARGET}
mkdir -p ${TARGETBINDIR}
- ${CC} ${CFLAGS} ${OPUSFILE_EXAMPLE_OBJS} \
- ${LIBOPUSFILE_TARGET} ${SEEKING_EXAMPLE_LIBS} ${LIBS} -o $@
+ ${CC} ${CFLAGS} ${OPUSFILE_EXAMPLE_OBJS} ${LIBOPUSFILE_TARGET} ${LIBS} \
+ -o $@
# seeking_example
${SEEKING_EXAMPLE_TARGET}: ${SEEKING_EXAMPLE_OBJS} ${LIBOPUSFILE_TARGET}
mkdir -p ${TARGETBINDIR}
- ${CC} ${CFLAGS} ${SEEKING_EXAMPLE_OBJS} ${LIBOPUSFILE_TARGET} \
- ${SEEKING_EXAMPLE_LIBS} ${LIBS} -o $@
+ ${CC} ${CFLAGS} ${SEEKING_EXAMPLE_OBJS} ${LIBOPUSFILE_TARGET} ${LIBS} \
+ -o $@
#TODO: tests
# foo