summaryrefslogtreecommitdiff
path: root/math/lapacke/files/patch-make.inc
blob: 3dc94d1aed694b3139fc51a9c08ffd9c634db969 (plain) (blame)
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
--- make.inc.orig	2010-10-01 17:17:25.000000000 +0900
+++ make.inc	2010-12-06 20:00:25.000000000 +0900
@@ -47,20 +47,20 @@
 #                  LDFLAGS = -nofor-main
 # - gfortran, set: LINKER = gfortran
 #
-CC = icc
-CFLAGS = -O3
+CC = %%CC%%
+CFLAGS = %%CFLAGS%%
 LINKER = $(CC)
-LDFLAGS =
+LDFLAGS = %%LDFLAGS%%
 #
 # The name of the libraries to be created/linked to
 # Ensure that the libraries have the same data model (LP64/ILP64).
 #
-LAPACKE = lapacke.a
-LIBS = ../../../lapack-3.2.1/lapack.a ../../../lapack-3.2.1/blas.a -lm
+LAPACKE = ./lib/liblapacke.a
+LIBS = %%BLAS%% %%LAPACK%%
 #
 #  The archiver and the flag(s) to use when building archive (library)
 #  If your system has no ranlib, set RANLIB = echo.
 #
-ARCH         = ar
-ARCHFLAGS    = cr
-RANLIB       = ranlib
+ARCH_        = %%AR%%
+ARCH_FLAGS   = cr
+RANLIB       = %%RANLIB%%