| 1 |
############################################################################ |
| 2 |
# |
| 3 |
# Program: ARPACK |
| 4 |
# |
| 5 |
# Module: Makefile |
| 6 |
# |
| 7 |
# Purpose: Sources Makefile |
| 8 |
# |
| 9 |
# Creation date: February 22, 1996 |
| 10 |
# |
| 11 |
# Modified: September 6, 1996 |
| 12 |
# |
| 13 |
# Send bug reports, comments or suggestions to arpack.caam.rice.edu |
| 14 |
# |
| 15 |
############################################################################ |
| 16 |
#\SCCS Information: @(#) |
| 17 |
# FILE: Makefile SID: 2.1 DATE OF SID: 9/9/96 RELEASE: 2 |
| 18 |
|
| 19 |
include ../ARmake.inc |
| 20 |
|
| 21 |
############################################################################ |
| 22 |
# To create or add to the library, enter make followed by one or |
| 23 |
# more of the precisions desired. Some examples: |
| 24 |
# make single |
| 25 |
# make single complex |
| 26 |
# make single double complex complex16 |
| 27 |
# Alternatively, the command |
| 28 |
# make |
| 29 |
# without any arguments creates a library of all four precisions. |
| 30 |
# The name of the library is defined by $(ARPACKLIB) in |
| 31 |
# ../ARmake.inc and is created at the next higher directory level. |
| 32 |
# |
| 33 |
|
| 34 |
OBJS = icnteq.o icopy.o iset.o iswap.o ivout.o second.o |
| 35 |
|
| 36 |
SOBJ = svout.o smout.o |
| 37 |
|
| 38 |
DOBJ = dvout.o dmout.o |
| 39 |
|
| 40 |
COBJ = cvout.o cmout.o |
| 41 |
|
| 42 |
ZOBJ = zvout.o zmout.o |
| 43 |
|
| 44 |
.SUFFIXES: .o .F .f |
| 45 |
|
| 46 |
.f.o: |
| 47 |
$(FC) $(FFLAGS) -c $< |
| 48 |
# |
| 49 |
# make the library containing both single and double precision |
| 50 |
# |
| 51 |
all: single double complex complex16 |
| 52 |
|
| 53 |
single: $(SOBJ) $(OBJS) |
| 54 |
$(AR) $(ARFLAGS) $(ARPACKLIB) $(SOBJ) $(OBJS) |
| 55 |
$(RANLIB) $(ARPACKLIB) |
| 56 |
|
| 57 |
double: $(DOBJ) $(OBJS) $(ZOBJ) |
| 58 |
$(AR) $(ARFLAGS) $(ARPACKLIB) $(DOBJ) $(OBJS) |
| 59 |
$(RANLIB) $(ARPACKLIB) |
| 60 |
|
| 61 |
complex: $(SOBJ) $(OBJS) $(COBJ) |
| 62 |
$(AR) $(ARFLAGS) $(ARPACKLIB) $(SOBJ) $(COBJ) $(OBJS) |
| 63 |
$(RANLIB) $(ARPACKLIB) |
| 64 |
|
| 65 |
complex16: $(DOBJ) $(OBJS) $(ZOBJ) |
| 66 |
$(AR) $(ARFLAGS) $(ARPACKLIB) $(DOBJ) $(ZOBJ) $(OBJS) |
| 67 |
$(RANLIB) $(ARPACKLIB) |
| 68 |
# |
| 69 |
sdrv: |
| 70 |
|
| 71 |
ddrv: |
| 72 |
|
| 73 |
cdrv: |
| 74 |
|
| 75 |
zdrv: |
| 76 |
|
| 77 |
# |
| 78 |
# clean - remove all object files |
| 79 |
# |
| 80 |
clean: |
| 81 |
rm -f *.o a.out core |
| 82 |
|