-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
76 lines (66 loc) · 2.04 KB
/
Makefile
File metadata and controls
76 lines (66 loc) · 2.04 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
############################################################################
#
# Program: ARPACK
#
# Module: Makefile
#
# Purpose: Top-level Makefile
#
# Creation date: February 22, 1996
#
# Modified:
#
# Send bug reports, comments or suggestions to arpack@caam.rice.edu
#
############################################################################
include ARmake.inc
PRECISIONS = single double complex complex16
#PRECISIONS = double ddrv
# If LAPACK and BLAS are not installed on you system, and you are going
# to use the driver programs in the EXAMPLES directory, you need to add
# sdrv(for single precision), ddrv(for double precision),
# cdrv(for single precision complex), or zdrv(for double precision complex)
# to the definition of PRECISION.
############################################################################
#
# The library can be set up to include routines for any combination of the
# four PRECISIONS. First, modify the definitions in ARmake.inc to match
# your library archiver, compiler, and the options to be used.
#
# Sample ARmake.inc's can be found in the directory ARMAKES
#
# Then to create or add to the library, enter make lib after having
# modified the environment variable PRECISIONS defined in this Makefile.
#
# make lib
# creates the library for serial ARPACK,
#
# The name of the libraries are defined in the file called ARmake.inc and
# are created at this directory level.
#
# To remove the object files after the libraries and testing executables
# are created, enter
# make clean
#
############################################################################
all: lib
lib: arpacklib
clean: cleanlib
arpacklib:
@( \
for f in $(DIRS); \
do \
$(CD) $$f; \
$(ECHO) Making lib in $$f; \
$(MAKE) $(PRECISIONS); \
$(CD) ..; \
done );
$(RANLIB) $(ARPACKLIB)
cleantest:
cleanlib:
-( cd $(BLASdir); $(MAKE) clean )
-( cd $(LAPACKdir); $(MAKE) clean )
-( cd $(UTILdir); $(MAKE) clean )
-( cd $(SRCdir); $(MAKE) clean )
help:
@$(ECHO) "usage: make ?"