tMakefile: change order of linker arguments - cngf-pf - continuum model for gra… | |
git clone git://src.adamsgaard.dk/cngf-pf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 37facb14f20a36d93492eeb7c4739696c6e15dc8 | |
parent ebaad0d6165914cf06cadcec7f3563361efae439 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 24 Nov 2020 12:30:31 +0100 | |
Makefile: change order of linker arguments | |
May fix linking issue on Ubuntu (thanks Ian for reporting) | |
Diffstat: | |
M Makefile | 14 +++++++------- | |
1 file changed, 7 insertions(+), 7 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
t@@ -39,25 +39,25 @@ OBJ = ${SRC:.c=.o} | |
${OBJ}: ${HDR} | |
.o: | |
- ${CC} ${CNGFPFLDFLAGS} -o $@ $< | |
+ ${CC} -o $@ $< ${CNGFPFLDFLAGS} | |
.c.o: | |
${CC} ${CNGFPFCFLAGS} ${CNGFPFCPPFLAGS} -o $@ -c $< | |
cngf-pf: cngf-pf.o arrays.o fluid.o simulation.o | |
- ${CC} ${CNGFPFLDFLAGS}\ | |
+ ${CC}\ | |
cngf-pf.o arrays.o fluid.o simulation.o\ | |
- -o $@ | |
+ -o $@ ${CNGFPFLDFLAGS} | |
max_depth_simple_shear: max_depth_simple_shear.o arrays.o fluid.o simulation.o | |
- ${CC} ${CNGFPFLDFLAGS}\ | |
+ ${CC}\ | |
max_depth_simple_shear.o arrays.o fluid.o simulation.o\ | |
- -o $@ | |
+ -o $@ ${CNGFPFLDFLAGS} | |
shear_flux: shear_flux.o | |
- ${CC} ${CNGFPFLDFLAGS}\ | |
+ ${CC}\ | |
shear_flux.o\ | |
- -o $@ | |
+ -o $@ ${CNGFPFLDFLAGS} | |
dist: | |
rm -rf "${NAME}-${VERSION}" |