Skip to content
Snippets Groups Projects
Commit 8ea06337 authored by A Bartok-Partay's avatar A Bartok-Partay
Browse files

add NETCDF libs (as defined in QUIP) to the linking line if QUIP was built with NETCDF support

parent fd16118c
No related branches found
No related tags found
No related merge requests found
......@@ -13,8 +13,10 @@ $(error Environment variable QUIP_ARCH must be set.)
endif
include ${QUIP_ROOT}/build/${QUIP_ARCH}/Makefile.inc
include ${QUIP_ROOT}/Makefile.rules
quip_SYSLIB = -lquip
quip_SYSLIB += ${NETCDF_SYSLIBS}
quip_SYSLIB += ${MATH_LINKOPTS}
ifeq (${F95},gfortran)
......@@ -25,4 +27,4 @@ else
$(error fortran compiler >>${F95}<< not recognised. Edit lib/quip/Makefile.lammps to specify the fortran library your linker should link to)
endif
quip_SYSPATH = -L${QUIP_ROOT}/build/${QUIP_ARCH} -L${QUIP_ROOT}/src/FoX-4.0.3/objs.${QUIP_ARCH}/lib
quip_SYSPATH = -L${QUIP_ROOT}/build/${QUIP_ARCH}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment