Introduction
Introduction Statistics Contact Development Disclaimer Help
tMakefile: fix linker argument order - numtools - perform numerical operations …
git clone git://src.adamsgaard.dk/numtools
Log
Files
Refs
README
LICENSE
---
commit f5300d87504c05843deb19e06fda765e5b61c9b0
parent 76779d98f45ccb5273322738fe7debe7dca1385e
Author: Anders Damsgaard <[email protected]>
Date: Fri, 22 Sep 2023 11:16:56 +0200
Makefile: fix linker argument order
Diffstat:
M Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Makefile b/Makefile
t@@ -42,7 +42,7 @@ LIB = ${COMPATOBJ}
LIBS = -lm
_CFLAGS = ${CFLAGS} ${INCS} -DVERSION=\"${VERSION}\"
-_LDFLAGS = ${LDFLAGS} ${LIBS}
+_LDFLAGS = ${LDFLAGS}
_CPPFLAGS = ${CPPFLAGS} -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
MAN1 = ${BIN:=.1} ${SCRIPTS:=.1}
t@@ -69,7 +69,7 @@ sum: sum.o
transpose: transpose.o
${BIN}: ${LIB} ${OBJ}
- ${CC} ${_LDFLAGS} -o $@ ${@:=.o} ${OBJ}
+ ${CC} ${_LDFLAGS} -o $@ ${@:=.o} ${OBJ} ${LIBS}
.c.o:
${CC} ${_CFLAGS} ${_CPPFLAGS} -o $@ -c $<
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.