# .COPYRIGHT:	Copyright (c) 1988 European Southern Observatory,
#				all rights reserved
# .TYPE		make file
# .NAME		$MIDASHOME/$MIDVERS/contrib/imres/libsrc/makefile 
# .LANGUAGE	makefile syntax
# .ENVIRONMENT	Unix Systems. 
# .COMMENT	Compiles source files and generates ".a" library.
#
# .REMARKS
#
# .AUTHOR	
# .VERSION 1.1	:		Implementation
# .VERSION 3.0  930308:		Using default.mk file

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

LIB = $(LLIBDIR)/libimres.a

OBJ =   midint.o      fftetc.o

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

$(MAKEFILE_VMS): makefile
	$(MAKE_VMS) force

$(LIB): $(OBJ) 
	$(AR) $(AR_OPT) $(LIB) $(OBJ)
	$(RANLIB) $(LIB)

clean:
	rm -f $(OBJ)
	rm -f *.f
