forked from lijiext/lammps
20 lines
634 B
Makefile
20 lines
634 B
Makefile
CUDA_HOME = ../../tools/mingw-cross/OpenCL
|
|
|
|
OCL_CPP = i686-w64-mingw32-g++ -O2 -march=i686 -mtune=generic -mfpmath=387 \
|
|
-mpc64 -DMPI_GERYON -DUCL_NO_EXIT -I$(CUDA_HOME)/include \
|
|
-I../../tools/mingw-cross/mpich2-win32/include/ \
|
|
-DMPICH_IGNORE_CXX_SEEK
|
|
OCL_LINK = -Wl,--enable-stdcall-fixup -L$(CUDA_HOME)/../Obj_mingw32 -lOpenCL \
|
|
-L../../tools/mingw-cross/mpich2-win32/lib -lmpi
|
|
OCL_PREC = -D_SINGLE_DOUBLE
|
|
OCL_TUNE = -DFERMI_OCL
|
|
EXTRAMAKE = Makefile.lammps.mingw-cross
|
|
|
|
BIN_DIR = Obj_mingw32-mpi
|
|
OBJ_DIR = Obj_mingw32-mpi
|
|
LIB_DIR = Obj_mingw32-mpi
|
|
AR = i686-w64-mingw32-ar
|
|
BSH = /bin/sh
|
|
|
|
include Opencl.makefile
|