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