1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
# @(#)makefile 19.1 (ESO-IPG) 02/25/03 13:55:38
# .COPYRIGHT: Copyright (c) 1988 European Southern Observatory,
# all rights reserved
# .TYPE make file
# .NAME $MIDASHOME/$MIDVERS/libsrc/math/makefile
# .LANGUAGE makefile syntax
# .ENVIRONMENT Unix Systems.
# .COMMENT Compiles source files and generates the library libmidmath.a
# .REMARKS
#
# .AUTHOR Carlos Guirao
# .VERSION 1.1 901131: Implementation
# .VERSION 2.1 901203: New directory structure. CG
# .VERSION 3.0 930308: Using default.mk file
include ../../local/default.mk
LIB = $(LIBDIR)/libmidmath.a
OBJ0 = rebu01.o
OBJ1 = sort.o heapsort.o cpl_matrix.o nrutil.o mutil.o mpfit.o fitnol.o spline.o
# DEPENDENCIES:
all: $(MAKEFILE_VMS) $(LIB)
$(MAKEFILE_VMS): makefile
$(MAKE_VMS)
$(LIB): $(OBJ0) $(OBJ1)
$(AR) $(AR_OPT) $(LIB) $(OBJ0) $(OBJ1)
$(RANLIB) $(LIB)
clean:
rm -f $(OBJ0) $(OBJ1)
rm -f *.f
|