forked from lijiext/lammps
26 lines
720 B
Makefile
26 lines
720 B
Makefile
# /* ----------------------------------------------------------------------
|
|
# Generic Mac Makefile for OpenCL
|
|
# ------------------------------------------------------------------------- */
|
|
|
|
# which file will be copied to Makefile.lammps
|
|
|
|
EXTRAMAKE = Makefile.lammps.mac_ocl
|
|
|
|
OCL_TUNE = -DFERMI_OCL # -- Uncomment for NVIDIA Fermi
|
|
# OCL_TUNE = -DKEPLER_OCL # -- Uncomment for NVIDIA Kepler
|
|
# OCL_TUNE = -DCYPRESS_OCL # -- Uncomment for AMD Cypress
|
|
# OCL_TUNE = -DGENERIC_OCL # -- Uncomment for generic device
|
|
|
|
OCL_CPP = mpic++ -O3 -DMPI_GERYON -DUCL_NO_EXIT
|
|
OCL_LINK = -framework OpenCL
|
|
OCL_PREC = -D_SINGLE_SINGLE
|
|
|
|
BIN_DIR = ./
|
|
OBJ_DIR = ./
|
|
LIB_DIR = ./
|
|
AR = ar
|
|
BSH = /bin/sh
|
|
|
|
include Opencl.makefile
|
|
|