File: Makeblat2

package info (click to toggle)
lapack 3.4.1%2Bdfsg-1%2Bdeb70u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 103,172 kB
  • sloc: fortran: 469,422; ansic: 127,041; makefile: 3,817; python: 267; sh: 94
file content (74 lines) | stat: -rw-r--r-- 1,936 bytes parent folder | download | duplicates (8)
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
include ../../make.inc
 
#######################################################################
#  This makefile creates the test programs for the BLAS 2 routines.
#  The test files are grouped as follows:
#       SBLAT2 -- Single precision real test routines
#       CBLAT2 -- Single precision complex test routines
#       DBLAT2 -- Double precision real test routines
#       ZBLAT2 -- Double precision complex test routines
#
#  Test programs can be generated for all or some of the four different
#  precisions.  To create the test programs, 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 all four test programs.
#  The executable files which are created are called
#       ../xblat2s, ../xblat2d, ../xblat2c, and ../xblat2z
#
#  To remove the object files after the executable files have been
#  created, enter
#       make clean
#  To force the source files to be recompiled, enter, for example,
#       make single FRC=FRC
#
#######################################################################

SBLAT2 = sblat2.o 

CBLAT2 = cblat2.o 

DBLAT2 = dblat2.o 

ZBLAT2 = zblat2.o

all:  single double complex complex16

single: ../xblat2s
double: ../xblat2d
complex: ../xblat2c
complex16: ../xblat2z

../xblat2s: $(SBLAT2)
	$(LOADER) $(LOADOPTS) $(SBLAT2) \
        $(BLASLIB)  -o ../xblat2s

../xblat2c: $(CBLAT2) 
	$(LOADER) $(LOADOPTS) $(CBLAT2) \
        $(BLASLIB)  -o ../xblat2c
 
../xblat2d: $(DBLAT2) 
	$(LOADER) $(LOADOPTS) $(DBLAT2) \
        $(BLASLIB)  -o ../xblat2d
 
../xblat2z: $(ZBLAT2) 
	$(LOADER) $(LOADOPTS) $(ZBLAT2) \
        $(BLASLIB)  -o ../xblat2z
 
$(SBLAT2): $(FRC)
$(CBLAT2): $(FRC)
$(DBLAT2): $(FRC)
$(ZBLAT2): $(FRC)
 
FRC:
	@FRC=$(FRC)
 
clean:
	rm -f *.o
 
.f.o: 
	$(FORTRAN) $(OPTS) -c $< -o $@