# @(#)makefile	19.1 (ESO-IPG) 02/25/03 13:55:17
# .COPYRIGHT:	Copyright (c) 1988 European Southern Observatory,
#						all rights reserved
# .TYPE		make file
# .NAME		$MIDASHOME/$MIDVERS/libsrc/fidi/newdev/makefile 
# .LANGUAGE	makefile syntax
# .ENVIRONMENT	Unix Systems. 
# .COMMENT	Compiles source files and generates "libsubmid.a" library.
# .REMARKS	This makefile must not be used to generate makefile.com
# .AUTHOR	Carlos Guirao
# .VERSION 1.1	880831:		Implementation
# .VERSION 2.1  901203:         New directory structure. CG
# .VERSION 3.0  930308:		Using default.mk file

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

LIB = $(LIBDIR)/libsubmid.a

OBJ =	mxwc.o mxwg.o mxwl.o mxwr.o \
	mxwd.o mxwi.o mxwm.o mxwz.o


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

$(MAKEFILE_VMS): makefile
	$(MAKE_VMS)

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

clean:
	rm -f $(OBJ)
