Files
lammps/lib/quip/Makefile.lammps
athomps 12b5742f6c Updated to new QUIP directory structure
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13493 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2015-06-23 23:18:51 +00:00

21 lines
699 B
Makefile

# Settings that the LAMMPS build will import when this package library is used
# include ${QUIP_DIR}/Makefiles/Makefile.${QUIP_ARCH}
F95=$(shell egrep 'F95[ ]*=' ${QUIP_DIR}/arch/Makefile.${QUIP_ARCH} | sed 's/.*F95[ ]*=[ ]*//')
include ${QUIP_DIR}/build/${QUIP_ARCH}/Makefile.inc
quip_SYSLIB = -lquip
quip_SYSLIB += ${MATH_LINKOPTS}
ifeq (${F95},gfortran)
quip_SYSLIB += -lgfortran
else ifeq (${F95},ifort)
quip_SYSLIB += -lifcore -lifport
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_DIR}/build/${QUIP_ARCH} -L${QUIP_DIR}/src/FoX-4.0.3/objs.${QUIP_ARCH}/lib