# @(#)makefile	19.1 (ESO-IPG) 02/25/03 13:29:44
# .COPYRIGHT:	Copyright (c) 1988 European Southern Observatory,
#				all rights reserved
# .TYPE		make file
# .NAME		$MIDASHOME/$MIDVERS/contrib/romafot/lib/makefile 
# .LANGUAGE	makefile syntax
# .ENVIRONMENT	Unix Systems. 
# .COMMENT	Compiles source files and generates "rfotlib.a" library.
#
# .REMARKS
#
# .AUTHOR	
# .VERSION 1.1	890402:		Implementation
# .VERSION 2.1  901102:         new directory structure CG.
# .VERSION 3.0  930308:		Using default.mk file

include ../../../local/default.mk

LIB = $(LLIBDIR)/librfot.a

OBJ0 =	cattab.o conts3.o costel.o elmor.o  elmoi.o  fist.o   bip.o \
	iperd.o  inttab.o lisid.o  inters.o intsat.o limitx.o lisib.o 
OBJ1 =  mono4.o  piant5.o profi5.o proone.o realin.o smain.o  smoot.o \
	tmask.o  wrilin.o ran3.o   mima.o

# DEPENDENCIES:
all: $(MAKEFILE_VMS) $(LIB)

$(MAKEFILE_VMS): makefile
	$(MAKE_VMS)

$(LIB): $(OBJ0) $(OBJ1)
	$(AR) $(AR_OPT) $(LIB) $(OBJ0)
	$(AR) $(AR_OPT) $(LIB) $(OBJ1)
	$(RANLIB) $(LIB)

clean:
	rm -f $(OBJ0)
	rm -f $(OBJ1)
	rm -f *.f





