1 --- lrslib-071/makefile.orig 2020-06-04 09:58:02.217703517 +0000
2 +++ lrslib-071/makefile 2020-06-04 09:59:20.505523290 +0000
7 -INCLUDEDIR = /usr/local/include
8 -LIBDIR = /usr/local/lib
9 +INCLUDEDIR = /usr/include
15 # Building (linking) the shared library, and relevant symlinks.
18 - $(CC) -shared -Wl,-soname=$(SONAME) $(SHLIBFLAGS) -o $@ ${SHLIBOBJ} -lgmp
19 + $(CC) -shared -Wl,-soname=$(SONAME) $(SHLIBFLAGS) -o $@ ${SHLIBOBJ} -lgmp ${LDFLAGS}
22 ln -sf ${SHLIB} ${SONAME}
24 all-shared: ${SHLIBBIN}
26 lrs-shared: ${SHLINK} lrs-shared.o
27 - $(CC) $^ -o $@ -L . -llrs
28 + $(CC) $^ -o $@ -L . -llrs ${LDFLAGS}
31 lrsnash-shared: ${SHLINK} lrsnash.c
32 - $(CC) ${CFLAGS} -DGMP -DMA lrsnash.c lrsnashlib.c -I${INCLUDEDIR} -o $@ -L . -llrs -lgmp
33 + $(CC) ${CFLAGS} -DGMP -DMA lrsnash.c lrsnashlib.c -I${INCLUDEDIR} -o $@ -L . -llrs -lgmp ${LDFLAGS}