mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
b6a65059a2
Tested on 2.1.1.1 1.2.1.1 4.1.1.1 1.4.1.1 2.2.1.1 subnode decompositions
33 lines
788 B
Makefile
33 lines
788 B
Makefile
extra_sources=
|
|
if BUILD_COMMS_MPI
|
|
extra_sources+=communicator/Communicator_mpi.cc
|
|
extra_sources+=communicator/Communicator_base.cc
|
|
endif
|
|
|
|
if BUILD_COMMS_MPI3
|
|
extra_sources+=communicator/Communicator_mpi3.cc
|
|
extra_sources+=communicator/Communicator_base.cc
|
|
endif
|
|
|
|
if BUILD_COMMS_SHMEM
|
|
extra_sources+=communicator/Communicator_shmem.cc
|
|
extra_sources+=communicator/Communicator_base.cc
|
|
endif
|
|
|
|
if BUILD_COMMS_NONE
|
|
extra_sources+=communicator/Communicator_none.cc
|
|
extra_sources+=communicator/Communicator_base.cc
|
|
endif
|
|
|
|
#
|
|
# Libraries
|
|
#
|
|
include Make.inc
|
|
include Eigen.inc
|
|
|
|
lib_LIBRARIES = libGrid.a
|
|
|
|
libGrid_a_SOURCES = $(CCFILES) $(extra_sources)
|
|
libGrid_adir = $(pkgincludedir)
|
|
nobase_dist_pkginclude_HEADERS = $(HFILES) $(eigen_files) Config.h
|