/usr/share/doc/libsuperlu-dev/examples/Makefile is in libsuperlu3-dev 3.0+20070106-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | include ../make.inc
#######################################################################
# This makefile creates the example programs for the linear equation
# routines in SuperLU. The files are grouped as follows:
#
# SLINEXM -- Single precision real example routines
# DLINEXM -- Double precision real example routines
# CLINEXM -- Double precision complex example routines
# ZLINEXM -- Double precision complex example routines
#
# Example programs can be generated for all or some of the four different
# precisions. Enter make followed by one or more of the data types
# desired. Some examples:
# make single
# make single double
# Alternatively, the command
# make
# without any arguments creates all four example programs.
# The executable files are called
# slinsol slinsolx
# dlinsol dlinsolx
# clinsol clinsolx
# zlinsol zlinsolx
#
# To remove the object files after the executable files have been
# created, enter
# make clean
# On some systems, you can force the source files to be recompiled by
# entering (for example)
# make single FRC=FRC
#
#######################################################################
HEADER = ../SRC
LIBS = ../$(SUPERLULIB) $(BLASLIB) -lm
SLINEXM = slinsol.o
SLINEXM1 = slinsol1.o
SLINXEXM = slinsolx.o
SLINXEXM1 = slinsolx1.o
SLINXEXM2 = slinsolx2.o
DLINEXM = dlinsol.o
DLINEXM1 = dlinsol1.o
DLINXEXM = dlinsolx.o
DLINXEXM1 = dlinsolx1.o
DLINXEXM2 = dlinsolx2.o
SUPERLUEXM = superlu.o sp_ienv.o
CLINEXM = clinsol.o
CLINEXM1 = clinsol1.o
CLINXEXM = clinsolx.o
CLINXEXM1 = clinsolx1.o
CLINXEXM2 = clinsolx2.o
ZLINEXM = zlinsol.o
ZLINEXM1 = zlinsol1.o
ZLINXEXM = zlinsolx.o
ZLINXEXM1 = zlinsolx1.o
ZLINXEXM2 = zlinsolx2.o
all: single double complex complex16
single: slinsol slinsol1 slinsolx slinsolx1 slinsolx2
double: dlinsol dlinsol1 dlinsolx dlinsolx1 dlinsolx2 superlu
complex: clinsol clinsol1 clinsolx clinsolx1 clinsolx2
complex16: zlinsol zlinsol1 zlinsolx zlinsolx1 zlinsolx2
slinsol: $(SLINEXM) ../$(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(SLINEXM) $(LIBS) -o $@
slinsol1: $(SLINEXM1) ../$(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(SLINEXM1) $(LIBS) -o $@
slinsolx: $(SLINXEXM) ../$(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(SLINXEXM) $(LIBS) -o $@
slinsolx1: $(SLINXEXM1) ../$(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(SLINXEXM1) $(LIBS) -o $@
slinsolx2: $(SLINXEXM2) ../$(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(SLINXEXM2) $(LIBS) -o $@
dlinsol: $(DLINEXM) ../$(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(DLINEXM) $(LIBS) -o $@
dlinsol1: $(DLINEXM1) ../$(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(DLINEXM1) $(LIBS) -o $@
dlinsolx: $(DLINXEXM) ../$(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(DLINXEXM) $(LIBS) -o $@
dlinsolx1: $(DLINXEXM1) ../$(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(DLINXEXM1) $(LIBS) -o $@
dlinsolx2: $(DLINXEXM2) ../$(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(DLINXEXM2) $(LIBS) -o $@
superlu: $(SUPERLUEXM) ../$(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(SUPERLUEXM) $(LIBS) -o $@
clinsol: $(CLINEXM) ../$(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(CLINEXM) $(LIBS) -o $@
clinsol1: $(CLINEXM1) ../$(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(CLINEXM1) $(LIBS) -o $@
clinsolx: $(CLINXEXM) ../$(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(CLINXEXM) $(LIBS) -o $@
clinsolx1: $(CLINXEXM1) ../$(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(CLINXEXM1) $(LIBS) -o $@
clinsolx2: $(CLINXEXM2) ../$(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(CLINXEXM2) $(LIBS) -o $@
zlinsol: $(ZLINEXM) ../$(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(ZLINEXM) $(LIBS) -o $@
zlinsol1: $(ZLINEXM1) ../$(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(ZLINEXM1) $(LIBS) -o $@
zlinsolx: $(ZLINXEXM) ../$(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(ZLINXEXM) $(LIBS) -o $@
zlinsolx1: $(ZLINXEXM1) ../$(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(ZLINXEXM1) $(LIBS) -o $@
zlinsolx2: $(ZLINXEXM2) ../$(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(ZLINXEXM2) $(LIBS) -o $@
.c.o:
$(CC) $(CFLAGS) -I$(HEADER) -c $< $(VERBOSE)
.f.o:
$(FORTRAN) $(FFLAGS) -c $< $(VERBOSE)
clean:
rm -f *.o *linsol *linsol1 *linsolx *linsolx1 *linsolx2 superlu
|