move placement of -lm ala Christian

This commit is contained in:
Josh Coalson 2001-11-01 19:54:39 +00:00
parent 1501f89756
commit 61e8d3b267
3 changed files with 3 additions and 10 deletions

View File

@ -29,10 +29,4 @@ flac_SOURCES = \
encode.h \
file.h
if FLaC__HAS_OGG
flac_LDFLAGS = -lm
else
flac_LDFLAGS = -lm -logg
endif
flac_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la
flac_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la -lm

View File

@ -20,6 +20,6 @@ CFLAGS = @CFLAGS@
noinst_PROGRAMS = test_streams
test_streams_SOURCES = \
main.c
test_streams_LDFLAGS = -lm
test_streams_LDADD = -lm
CLEANFILES = $(wildcard *.raw)

View File

@ -19,8 +19,7 @@ CFLAGS = @CFLAGS@
INCLUDES = -I$(top_srcdir)/src/libFLAC/include
noinst_PROGRAMS = test_unit
test_unit_LDFLAGS = -lm
test_unit_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la
test_unit_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la -lm
test_unit_SOURCES = \
bitbuffer.c \
main.c \