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 19include ../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 34OBJS = icnteq.o icopy.o iset.o iswap.o ivout.o second.o 35 36SOBJ = svout.o smout.o 37 38DOBJ = dvout.o dmout.o 39 40COBJ = cvout.o cmout.o 41 42ZOBJ = 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# 51all: single double complex complex16 52 53single: $(SOBJ) $(OBJS) 54 $(AR) $(ARFLAGS) $(ARPACKLIB) $(SOBJ) $(OBJS) 55 $(RANLIB) $(ARPACKLIB) 56 57double: $(DOBJ) $(OBJS) $(ZOBJ) 58 $(AR) $(ARFLAGS) $(ARPACKLIB) $(DOBJ) $(OBJS) 59 $(RANLIB) $(ARPACKLIB) 60 61complex: $(SOBJ) $(OBJS) $(COBJ) 62 $(AR) $(ARFLAGS) $(ARPACKLIB) $(SOBJ) $(COBJ) $(OBJS) 63 $(RANLIB) $(ARPACKLIB) 64 65complex16: $(DOBJ) $(OBJS) $(ZOBJ) 66 $(AR) $(ARFLAGS) $(ARPACKLIB) $(DOBJ) $(ZOBJ) $(OBJS) 67 $(RANLIB) $(ARPACKLIB) 68# 69sdrv: 70 71ddrv: 72 73cdrv: 74 75zdrv: 76 77# 78# clean - remove all object files 79# 80clean: 81 rm -f *.o a.out core 82 83