https://hal.archives-ouvertes.fr/hal-02128878
Raw File
Tip revision: 4201397494d9af8b687117e8ff4d85a8944f5c5a authored by Software Heritage on 11 June 2019, 10:15:02 UTC
hal: Deposit 298 in collection hal
Tip revision: 4201397
Makefile.template
#----------------------------------------------------------
# Parameters to be configured by the user

# root for the blas library, for ex. /home/foo/ATLAS/lib/Linux_P4SSE2
BLASROOT = 

# ATLAS BLAS users : uncomment these lines:
#CXXFLAGS+=-D__LINBOX_HAVE_CBLAS
#LOADLIBES+=-L${BLASROOT} -lcblas -latlas

# GotoBlas BLAS users : uncomment this line:
#LOADLIBES+=-L${BLASROOT} -lgoto

# Other BLAS users, uncomment this line:
#LOADLIBES+=-L${BLASROOT} -lcblas

# architecture parameter for gcc: 
#ARCH = -march=pentium3 
#ARCH = -march=pentium4
#ARCH = -march=athlon
#ARCH = -march=opteron 
#ARCH = -m64 -mtune=k8

# Givaro/GMP root (only necessary for compiling the regression tests testeur_fgemm, testeur_lqup and testeur_ftrsm)
#GIVARO_ROOT=
#GMP_ROOT=
#INCLUDES+= -I ${GIVARO_ROOT}/include -I ${GMP_ROOT}/include
#LOADLIBES+= -L ${GIVARO_ROOT}/lib -lgivaro -L ${GMP_ROOT}/lib -lgmp -lgmpxx

#----------------------------------------------------------

OPTFLAGS+=-O3
#OPTFLAGS+=-g
OPTFLAGS+= ${ARCH}

CXXFLAGS+=${OPTFLAGS} 

INCLUDES+=-I. -I../include 


CXX=g++ ${INCLUDES}

all: test-fgemm test-invert test-det test-rank test-charpoly test-lqup test-nullspace dense_generator

regression: testeur_fgemm testeur_lqup testeur_ftrsm

clean:
	rm -f test-fgemm test-fgemv test-invert test-det test-rank test-charpoly test-lqup dense_generator testeur_fgemm testeur_lqup testeur_ftrsm
back to top