2004-08-29 09:49:57 +02:00
|
|
|
--- make.inc.orig Thu Nov 30 22:18:37 2000
|
2007-09-06 05:36:18 +02:00
|
|
|
+++ make.inc Thu Sep 6 11:57:35 2007
|
2004-08-29 09:49:57 +02:00
|
|
|
@@ -3,8 +3,8 @@
|
|
|
|
# UNI-C, Denmark; Univ. of Tennessee, USA; NAG Ltd., UK
|
|
|
|
# August 5, 2000
|
|
|
|
#
|
|
|
|
-FC = f95 -free
|
|
|
|
-FC1 = f95 -fixed
|
|
|
|
+FC = %%FC%% %%FORTRAN_FIXED%%
|
|
|
|
+FC1 = %%FC%% %%FORTRAN_FREE%%
|
|
|
|
# -dcfuns Enable recognition of non-standard double
|
|
|
|
# precision complex intrinsic functions
|
|
|
|
# -dusty Allows the compilation and execution of "legacy"
|
2007-09-06 05:36:18 +02:00
|
|
|
@@ -13,27 +13,27 @@
|
2004-08-29 09:49:57 +02:00
|
|
|
# -ieee=full enables all IEEE arithmetic facilities
|
|
|
|
# including non-stop arithmetic.
|
|
|
|
|
|
|
|
-OPTS0 = -u -V -dcfuns -dusty -ieee=full
|
2007-09-04 10:49:43 +02:00
|
|
|
-MODLIB = -I./../lapack95_modules
|
2007-01-10 02:41:21 +01:00
|
|
|
+OPTS0 = %%FFLAGS%% #-u -V -dcfuns -dusty -ieee=full
|
2007-09-04 10:49:43 +02:00
|
|
|
+MODLIB = -I./../lapack95_modules -I%%PREFIX%%/lib/lapack95_modules
|
2004-08-29 09:49:57 +02:00
|
|
|
OPTS1 = -c $(OPTS0)
|
|
|
|
OPTS3 = $(OPTS1) $(MODLIB)
|
|
|
|
OPTL = -o
|
|
|
|
OPTLIB =
|
|
|
|
|
|
|
|
-LAPACK_PATH = /usr/local/lib/LAPACK3/
|
2007-09-04 10:49:43 +02:00
|
|
|
+LAPACK_PATH = -L%%LOCALBASE%%/lib -L%%PREFIX%%/lib
|
2004-08-29 09:49:57 +02:00
|
|
|
|
2007-09-04 10:49:43 +02:00
|
|
|
-LAPACK95 = ../lapack95.a
|
2007-01-10 02:41:21 +01:00
|
|
|
-LAPACK77 = $(LAPACK_PATH)/lapack.a
|
2007-09-04 10:49:43 +02:00
|
|
|
+LAPACK95 = -llapack95
|
|
|
|
+LAPACK77 = %%LAPACK%%
|
2007-01-10 02:41:21 +01:00
|
|
|
TMG77 = $(LAPACK_PATH)/tmglib.a
|
|
|
|
-BLAS = $(LAPACK_PATH)/blas.a
|
2007-09-04 10:49:43 +02:00
|
|
|
+BLAS = %%BLAS%%
|
2007-01-10 02:41:21 +01:00
|
|
|
|
2007-09-04 10:49:43 +02:00
|
|
|
-LIBS = $(LAPACK95) $(TMG77) $(LAPACK77) $(BLAS)
|
|
|
|
+LIBS = $(LAPACK_PATH) $(LAPACK95) $(LAPACK77) $(BLAS)
|
2007-01-10 02:41:21 +01:00
|
|
|
SUF = f90
|
2007-09-04 10:49:43 +02:00
|
|
|
|
|
|
|
XX = 'rm' -f $@; \
|
2007-09-06 05:36:18 +02:00
|
|
|
'rm' -f $@.res; \
|
|
|
|
$(FC) $(OPTS0) -o $@ $(MODLIB) $@.$(SUF) $(OPTLIB) $(LIBS); \
|
|
|
|
- $@ < $@.dat > $@.res; \
|
|
|
|
+ ./$@ < $@.dat > $@.res; \
|
|
|
|
'rm' -f $@
|
|
|
|
|
|
|
|
YY = $(FC) $(OPTS0) -o $@ $(MODLIB) $@.$(SUF) $(OPTLIB) $(LIBS)
|