mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
7b97e50b7b
since testing requirements now go beyond what a single Grid_main.cc can do. Will need a more organised src tree for this and will require substantial reorg of build system.
43 lines
648 B
Makefile
43 lines
648 B
Makefile
# additional include paths necessary to compile the C++ library
|
|
AM_CXXFLAGS = -I$(top_srcdir)/
|
|
|
|
#
|
|
# Libraries
|
|
#
|
|
lib_LIBRARIES = libGrid.a
|
|
libGrid_a_SOURCES = Grid_init.cc
|
|
|
|
#
|
|
# Include files
|
|
#
|
|
include_HEADERS = Grid.h\
|
|
Grid_vComplexD.h\
|
|
Grid_vComplexF.h\
|
|
Grid_vRealD.h\
|
|
Grid_vRealF.h\
|
|
Grid_Cartesian.h\
|
|
Grid_Lattice.h\
|
|
Grid_config.h
|
|
|
|
#
|
|
# Test code
|
|
#
|
|
bin_PROGRAMS = Grid_main
|
|
|
|
extra_sources=
|
|
if BUILD_COMMS_MPI
|
|
extra_sources+=Grid_mpi.cc
|
|
endif
|
|
if BUILD_COMMS_FAKE
|
|
extra_sources+=Grid_fake.cc
|
|
endif
|
|
if BUILD_COMMS_NONE
|
|
extra_sources+=Grid_fake.cc
|
|
endif
|
|
|
|
Grid_main_SOURCES = \
|
|
Grid_main.cc\
|
|
$(extra_sources)
|
|
|
|
Grid_main_LDADD = libGrid.a
|