LA_library/Makefile.am

27 lines
1.0 KiB
Makefile
Raw Normal View History

2009-11-13 16:14:37 +01:00
lib_LTLIBRARIES = libla.la
2010-06-18 14:54:26 +02:00
include_HEADERS = fortran.h cuda_la.h auxstorage.h davidson.h laerror.h mat.h qsort.h vec.h bisection.h diis.h la.h noncblas.h smat.h bitvector.h fourindex.h la_traits.h nonclass.h sparsemat.h sparsesmat.h conjgrad.h gmres.h matexp.h permutation.h
libla_la_SOURCES = vec.cc mat.cc smat.cc sparsemat.cc sparsesmat.cc laerror.cc noncblas.cc bitvector.cc strassen.cc nonclass.cc cuda_la.cc
2009-10-07 16:37:01 +02:00
check_PROGRAMS = t test
t_SOURCES = t.cc t2.cc
test_SOURCES = test.cc
2009-11-13 16:14:37 +01:00
LDADD = .libs/libla.a
ACLOCAL_AMFLAGS = -I m4
2009-10-07 16:56:32 +02:00
EXTRA_DIST = LICENSE
2010-09-08 15:30:20 +02:00
.cu.o:
$(NVCC) -o $@ -c $< $(NVCCFLAGS)
2009-11-13 16:14:37 +01:00
#todo: achieve portability of the fortran calls via autoconf?
2009-10-07 16:37:01 +02:00
2010-06-18 14:54:26 +02:00
#use ./configure CXXFLAGS="" LDFLAGS="" to avoid defaults
CXXFLAGS += -g
CXXFLAGS += $(OPTIMIZEOPT) $(CUDAOPT) $(FORINTOPT) $(DEBUGOPT) $(MATPTROPT)
2009-11-13 16:14:37 +01:00
CXXFLAGS += -DNO_STRASSEN -DFORTRAN_
2009-10-07 16:37:01 +02:00
2009-10-08 16:01:15 +02:00
CXXFLAGS += $(CBLASOPT) $(CLAPACKOPT)
2009-10-07 16:37:01 +02:00
LDFLAGS += $(CBLASLIB)
2009-10-08 16:01:15 +02:00
CXXFLAGS += $(TRACEBACKOPT)
2010-06-18 14:54:26 +02:00
LDFLAGS += $(CUDALIBS)
2009-10-07 16:37:01 +02:00
LDFLAGS += $(TRACEBACKLIB)