#
# makefile for creating DLIB and DRESP3 shared object files - IBM AIX
#
#----------------------------------------

FC = xlf
FFLAG = -O -q64

all: dlib.so dresp3.so

dlib.so : dlib.f
	$(FC) -c $(FFLAG) dlib.f
	ld -G -b64 -bexpall -o $@ dlib.o -lxlf90 -lxlf -lm -lc
dresp3.so : dresp3.f
	$(FC) -c $(FFLAG) dresp3.f
	ld -G -b64 -bexpall -o $@ dresp3.o -lxlf90 -lxlf -lm -lc
