# % @(#)makefile 17.1.1.1 (ESO-IPG) 01/25/02 17:39:11 # .COPYRIGHT: Copyright (c) 1988 European Southern Observatory, # all rights reserved # .TYPE make file # .NAME $MIDASHOME/$MIDVERS/prim/lib/dio/makefile # .LANGUAGE makefile syntax # .ENVIRONMENT Unix Systems. # .COMMENT Compiles source files and generates "libdio.a" library. # # .AUTHOR Carlos Guirao # .VERSION 1.1 31-Aug-1988: Implementation # .VERSION 1.2 04-Jan-1989: Generating makefile.com for VMS systems # .VERSION 3.0 930308: Using default.mk file include ../../../local/default.mk CFLAGS = $(C_OPT) $(DEBUG) $(MEM_OPT) $(SH_OPT) $(SYS) -I$(INC) LIB = $(LIBDIR)/libdio.a OBJ0 = fitsrhd.o fitsthd.o fitsrkw.o fitsckw.o \ fitsrdm.o fitsrat.o fitsrbt.o fitssxd.o \ fitsrmd.o fitscdm.o OBJ1 = fitswkw.o fitswmd.o fitswhd.o fitswdm.o \ fitswat.o fitswbt.o fitstkw.o fitswdb.o \ fitshkw.o fitshdr.o fitsmdb.o fitsinf.o OBJ2 = cvb.o dataio.o ofname.o dclist.o fkwstr.o \ getval.o getint.o f77fmt.o datecvt.o txtfile.o OBJ = $(OBJ0) $(OBJ1) $(OBJ2) # DEPENDENCIES: all: $(MAKEFILE_VMS) $(LIB) $(MAKEFILE_VMS): makefile $(MAKE_VMS) $(LIB): $(OBJ) $(AR) $(AR_OPT) $(LIB) $(OBJ0) $(AR) $(AR_OPT) $(LIB) $(OBJ1) $(AR) $(AR_OPT) $(LIB) $(OBJ2) $(RANLIB) $(LIB) $(OBJ): $(INC)/computer.h \ $(INC)/midas_def.h \ $(INC)/osparms.h \ $(INC)/fitsfmt.h \ $(INC)/fitscvb.h \ $(INC)/fitsdef.h \ $(INC)/fitsdkw.h \ $(INC)/fitshkw.h \ $(INC)/fitskwb.h \ $(INC)/fitskwt.h clean: rm -f $(OBJ0) rm -f $(OBJ1) rm -f $(OBJ2)