tMakefile: change order of linker arguments - cngf-pf - continuum model for granular flows with pore-pressure dynamics (renamed from 1d_fd_simple_shear)
(HTM) git clone git://src.adamsgaard.dk/cngf-pf
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 37facb14f20a36d93492eeb7c4739696c6e15dc8
(DIR) parent ebaad0d6165914cf06cadcec7f3563361efae439
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
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(-)
---
(DIR) 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}"