Re: Newbie Automake Problem

2016-07-01 Thread Václav Haisman
On 1.7.2016 16:32, JASON TILLEY wrote: > I have been editing my Makefile since the original post, so the linker > is no longer getting ‘-lm -lcsa’. The final lines now look like this: > > /bin/sh ./libtool --tag=CC --mode=link /opt/local/bin/gcc -O2 -m64 > -fPIC -g -Wall -L/opt/local/lib -o c

Re: Newbie Automake Problem

2016-07-01 Thread JASON TILLEY
I have been editing my Makefile since the original post, so the linker is no longer getting ‘-lm -lcsa’. The final lines now look like this: /bin/sh ./libtool --tag=CC --mode=link /opt/local/bin/gcc -O2 -m64 -fPIC -g -Wall -L/opt/local/lib -o csabathy src/csabathy-csa.o src/csabathy-svd.o

Re: Automake passing CFLAGS or CXXFLAGS when linking

2016-07-01 Thread Bob Friesenhahn
On Tue, 28 Jun 2016, Grégory Pakosz wrote: Hello, What's the rationale behind Automake passing CFLAGS or CXXFLAGS when linking? LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ Notice that