Commit f207cef6 authored by Ralph Giles's avatar Ralph Giles
Browse files

Fix link order and add libm to the seeking example.

Needed to build on my Fedora 16 machine.
parent 9bc622bb
......@@ -119,14 +119,14 @@ ${LIBOPUSFILE_TARGET}: ${LIBOPUSFILE_OBJS}
# opusfile_example
${OPUSFILE_EXAMPLE_TARGET}: ${OPUSFILE_EXAMPLE_OBJS} ${LIBOPUSFILE_TARGET}
mkdir -p ${TARGETBINDIR}
${CC} ${CFLAGS} ${OPUSFILE_EXAMPLE_OBJS} ${LIBS} \
${SEEKING_EXAMPLE_LIBS} ${LIBOPUSFILE_TARGET} -o $@
${CC} ${CFLAGS} ${OPUSFILE_EXAMPLE_OBJS} \
${LIBOPUSFILE_TARGET} ${SEEKING_EXAMPLE_LIBS} ${LIBS} -o $@
# seeking_example
${SEEKING_EXAMPLE_TARGET}: ${SEEKING_EXAMPLE_OBJS} ${LIBOPUSFILE_TARGET}
mkdir -p ${TARGETBINDIR}
${CC} ${CFLAGS} ${SEEKING_EXAMPLE_OBJS} ${LIBS} ${LIBOPUSFILE_TARGET} \
-o $@
${CC} ${CFLAGS} ${SEEKING_EXAMPLE_OBJS} ${LIBOPUSFILE_TARGET} \
${SEEKING_EXAMPLE_LIBS} ${LIBS} -o $@
#TODO: tests
# foo
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment