1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01:00
Grid/lib/Makefile.am

33 lines
562 B
Makefile
Raw Normal View History

2015-04-18 14:55:00 +01:00
# additional include paths necessary to compile the C++ library
AM_CXXFLAGS = -I$(top_srcdir)/
extra_sources=
if BUILD_COMMS_MPI
2015-06-03 12:47:05 +01:00
extra_sources+=communicator/Communicator_mpi.cc
2015-04-18 14:55:00 +01:00
endif
2016-02-11 13:37:39 +00:00
if BUILD_COMMS_SHMEM
extra_sources+=communicator/Communicator_shmem.cc
endif
2015-04-18 14:55:00 +01:00
if BUILD_COMMS_NONE
2015-06-03 12:47:05 +01:00
extra_sources+=communicator/Communicator_none.cc
2015-04-18 14:55:00 +01:00
endif
#
# Libraries
#
2015-06-03 12:47:05 +01:00
include Make.inc
2015-04-18 14:55:00 +01:00
lib_LIBRARIES = libGrid.a
2015-06-03 12:47:05 +01:00
libGrid_a_SOURCES = $(CCFILES) $(extra_sources)
2015-04-18 14:55:00 +01:00
2015-06-03 12:47:05 +01:00
# qcd/action/fermion/PartialFractionFermion5D.cc\ \
2015-04-18 14:55:00 +01:00
#
# Include files
#
2015-06-03 12:47:05 +01:00
nobase_include_HEADERS=$(HFILES)
2015-04-18 14:55:00 +01:00