Debian Codegraph @

netlib-test/lapack-3.4.2/BLAS/TESTING/Makeblat3

raw
1 include ../../make.inc
2
3 #######################################################################
4 # This makefile creates the test programs for the BLAS 3 routines.
5 # The test files are grouped as follows:
6 # SBLAT3 -- Single precision real test routines
7 # CBLAT3 -- Single precision complex test routines
8 # DBLAT3 -- Double precision real test routines
9 # ZBLAT3 -- Double precision complex test routines
10 #
11 # Test programs can be generated for all or some of the four different
12 # precisions. To create the test programs, enter make followed by one
13 # or more of the precisions desired. Some examples:
14 # make single
15 # make single complex
16 # make single double complex complex16
17 # Alternatively, the command
18 # make
19 # without any arguments creates all four test programs.
20 # The executable files which are created are called
21 # ../xblat3s, ../xblat3d, ../xblat3c, and ../xblat3z
22 #
23 # To remove the object files after the executable files have been
24 # created, enter
25 # make clean
26 # To force the source files to be recompiled, enter, for example,
27 # make single FRC=FRC
28 #
29 #######################################################################
30
31 SBLAT3 = sblat3.o
32
33 CBLAT3 = cblat3.o
34
35 DBLAT3 = dblat3.o
36
37 ZBLAT3 = zblat3.o
38
39 all: single double complex complex16
40
41 single: ../xblat3s
42 double: ../xblat3d
43 complex: ../xblat3c
44 complex16: ../xblat3z
45
46 ../xblat3s: $(SBLAT3)
47 $(LOADER) $(LOADOPTS) $(SBLAT3) \
48 $(BLASLIB) -o ../xblat3s
49
50 ../xblat3c: $(CBLAT3)
51 $(LOADER) $(LOADOPTS) $(CBLAT3) \
52 $(BLASLIB) -o ../xblat3c
53
54 ../xblat3d: $(DBLAT3)
55 $(LOADER) $(LOADOPTS) $(DBLAT3) \
56 $(BLASLIB) -o ../xblat3d
57
58 ../xblat3z: $(ZBLAT3)
59 $(LOADER) $(LOADOPTS) $(ZBLAT3) \
60 $(BLASLIB) -o ../xblat3z
61
62 $(SBLAT3): $(FRC)
63 $(CBLAT3): $(FRC)
64 $(DBLAT3): $(FRC)
65 $(ZBLAT3): $(FRC)
66
67 FRC:
68 @FRC=$(FRC)
69
70 clean:
71 rm -f *.o
72
73 .f.o:
74 $(FORTRAN) $(OPTS) -c $< -o $@