File: Makefile

package info (click to toggle)
scalapack 2.2.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 37,724 kB
  • sloc: fortran: 339,123; ansic: 74,530; makefile: 1,494; sh: 33
file content (75 lines) | stat: -rw-r--r-- 2,405 bytes parent folder | download | duplicates (5)
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
############################################################################
#
#  Program:         PBLAS -- (version 2.0 beta)
#
#  Module:          Makefile
#
#  Purpose:         PB-BLAS remaining source Makefile
#
#  Creation date:   August 24, 1997
#
#  Modified:        February 15, 2000
#
#  Send bug reports, comments or suggestions to scalapack@cs.utk.edu
#
############################################################################

include ../../../SLmake.inc

############################################################################
#
#  The library can be set up to include routines for any combination
#  of the four precisions.  First, modify the ../../../SLmake.inc file
#  definitions to match your compiler and the options to be used.
#  Then to create or add to the library, enter make followed by one or
#  more of the precisions desired.  Some examples:
#       make single
#       make single complex
#       make single double complex complex16
#  Alternatively, the command
#       make
#  without any arguments creates a library of all four precisions.
#
#  To remove the object files after the library is created, enter
#       make clean
#
############################################################################

all: single double complex complex16

PBSBLASAUX = pbstran.o pbsmatadd.o pbstrsrt.o pbstrget.o \
             pbstrnv.o pbsvecadd.o pbstrst1.o

PBCBLASAUX = pbctran.o pbcmatadd.o pbctrsrt.o pbctrget.o \
             pbctrnv.o pbcvecadd.o pbctrst1.o

PBDBLASAUX = pbdtran.o pbdmatadd.o pbdtrsrt.o pbdtrget.o \
             pbdtrnv.o pbdvecadd.o pbdtrst1.o

PBZBLASAUX = pbztran.o pbzmatadd.o pbztrsrt.o pbztrget.o \
             pbztrnv.o pbzvecadd.o pbztrst1.o

#---------------------------------------------------------------------------

single: $(PBSBLASAUX)
	$(ARCH) $(ARCHFLAGS) ../../../$(SCALAPACKLIB) $(PBSBLASAUX)
	$(RANLIB) ../../../$(SCALAPACKLIB)

double: $(PBDBLASAUX)
	$(ARCH) $(ARCHFLAGS) ../../../$(SCALAPACKLIB) $(PBDBLASAUX)
	$(RANLIB) ../../../$(SCALAPACKLIB)

complex: $(PBCBLASAUX)
	$(ARCH) $(ARCHFLAGS) ../../../$(SCALAPACKLIB) $(PBCBLASAUX)
	$(RANLIB) ../../../$(SCALAPACKLIB)

complex16: $(PBZBLASAUX)
	$(ARCH) $(ARCHFLAGS) ../../../$(SCALAPACKLIB) $(PBZBLASAUX)
	$(RANLIB) ../../../$(SCALAPACKLIB)

#---------------------------------------------------------------------------

clean :
	rm -f *.o

.f.o : ; $(FC) -c $(FCFLAGS) $*.f