File: Makefile.template

package info (click to toggle)
fflas-ffpack 2.5.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,200 kB
  • sloc: cpp: 26,712; makefile: 784; sh: 430; csh: 95; ansic: 20
file content (48 lines) | stat: -rw-r--r-- 1,384 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#----------------------------------------------------------
# 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