# @(#)makefile 5.2 (ESO-IPG) 6/3/92 10:42:29 # .COPYRIGHT: Copyright (c) 1988 European Southern Observatory, # all rights reserved # .TYPE make file # .NAME $MIDASHOME/$MIDVERS/contrib/pepsys/lib/makefile # .LANGUAGE makefile syntax # .ENVIRONMENT Unix Systems. # .COMMENT Compiles source files and generates "peplib.a" library. # # .REMARKS # # .AUTHOR # .VERSION 1.1 881210: Implementation # .VERSION 1.2 890104: Generating makefile.com for VMS systems # .VERSION 2.1 901102: new directory structure CG. # .VERSION 3.0 930308: Using default.mk file # .VERSION 4.5 930321: ATY adds dependences # .VERSION 5.2 930410: ATY adds fmt.o include ../../../local/default.mk LIB = $(LLIBDIR)/libpep.a OBJ0 = addstr.o asker.o askfil.o cathed.o help.o lword.o match.o \ plansubs.o plot.o precep.o round.o subs1.o filhlp.o terror.o \ redsubs.o redsubs2.o space.o dlsq.o partit.o fmt.o LINC=../incl # DEPENDENCIES: all: $(MAKEFILE_VMS) $(LIB) dlsq.o: $(LINC)/kingfit.inc $(LINC)/dlsq.inc plansubs.o: $(LINC)/mbands.inc $(LINC)/mstars.inc redsubs.o: $(LINC)/mstars.inc redsubs2.o: $(LINC)/obs.inc $(LINC)/mbands.inc $(LINC)/mstars.inc \ $(LINC)/kingfit.inc $(LINC)/dlsq.inc subs1.o: $(LINC)/mbands.inc $(LINC)/mstars.inc $(MAKEFILE_VMS): makefile $(MAKE_VMS) $(LIB): $(OBJ0) $(AR) $(AR_OPT) $(LIB) $(OBJ0) $(RANLIB) $(LIB) clean: rm -f $(OBJ0) rm -f *.f