File: Makefile

package info (click to toggle)
scalapack 1.7-5
  • links: PTS
  • area: main
  • in suites: woody
  • size: 33,956 kB
  • ctags: 30,434
  • sloc: fortran: 309,685; ansic: 64,027; makefile: 1,836; sh: 4
file content (92 lines) | stat: -rw-r--r-- 2,576 bytes parent folder | download | duplicates (3)
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
############################################################################
#
#  Program:         ScaLAPACK
#
#  Module:          Makefile
#
#  Purpose:         Top-level Makefile
#
#  Creation date:   March 20, 1995
#
#  Modified:        February 15, 2000
#
#  Send bug reports, comments or suggestions to scalapack@cs.utk.edu
#
############################################################################

include SLmake.inc

#PRECISIONS = single double complex complex16 FRC=FRC
PRECISIONS = single double complex complex16

############################################################################
#
#  The library can be set up to include routines for any combination of the
#  four PRECISIONS.  First, modify the ARCH, ARCHFLAGS, RANLIB, F77, CC,
#  F77FLAGS, CCFLAGS, F77LOADER, CCLOADER, F77LOADFLAGS, CCLOADFLAGS and
#  CDEFS definitions in SLmake.inc to match your library archiver, compiler
#  and the options to be used.
#
#  The command
#       make
#  without any arguments creates the library of precisions defined by the
#  environment variable PRECISIONS as well as the corresponding testing
#  executables,
#       make lib
#  creates only the library,
#       make exe
#  creates only the testing executables.
#
#  The name of the library is defined in the file called SLmake.inc and
#  is created at this directory level.
#
#  To remove the object files after the library and testing executables
#  are created, enter
#       make clean
#
############################################################################

all: lib
#all: lib exe

lib: toolslib pblaslib redistlib scalapacklib

exe: pblasexe redistexe scalapackexe

clean: cleanlib cleanexe

pblaslib:
	( cd $(PBLASdir)/SRC; $(MAKE) $(PRECISIONS) )

redistlib:
	( cd $(REDISTdir)/SRC; $(MAKE) integer $(PRECISIONS) )

scalapacklib:
	( cd $(SRCdir); $(MAKE) $(PRECISIONS) )

toolslib:
	( cd $(TOOLSdir); $(MAKE) $(PRECISIONS) )

pblasexe:
	( cd $(PBLASdir)/TESTING; $(MAKE) $(PRECISIONS) )
	( cd $(PBLASdir)/TIMING; $(MAKE) $(PRECISIONS) )

scalapackexe:
	( cd $(TESTdir)/LIN; $(MAKE) $(PRECISIONS) )
	( cd $(TESTdir)/EIG; $(MAKE) $(PRECISIONS) )

redistexe:
	( cd $(REDISTdir)/TESTING; $(MAKE) integer $(PRECISIONS) )

cleanexe:
	( cd $(PBLASdir)/TESTING; $(MAKE) clean )
	( cd $(PBLASdir)/TIMING; $(MAKE) clean )
	( cd $(TESTdir)/LIN; $(MAKE) clean )
	( cd $(TESTdir)/EIG; $(MAKE) clean )
	( cd $(REDISTdir)/TESTING; $(MAKE) clean )

cleanlib:
	( cd $(PBLASdir)/SRC; $(MAKE) clean )
	( cd $(SRCdir); $(MAKE) clean )
	( cd $(TOOLSdir); $(MAKE) clean )
	( cd $(REDISTdir)/SRC; $(MAKE) clean )