| 1 |
# @(#)makefile 19.1 (ESO-IPG) 02/25/03 13:55:01 |
| 2 |
# .COPYRIGHT: Copyright (c) 1988 European Southern Observatory, |
| 3 |
# all rights reserved |
| 4 |
# .TYPE make file |
| 5 |
# .NAME $MIDASHOME/$MIDVERS/libsrc/fidi/makefile |
| 6 |
# .LANGUAGE makefile syntax |
| 7 |
# .ENVIRONMENT Unix Systems. |
| 8 |
# .COMMENT Compiles source files and generates "libsubmid.a" library. |
| 9 |
# .REMARKS This makefile must not be used to generate makefile.com |
| 10 |
# .AUTHOR Carlos Guirao |
| 11 |
# .VERSION 1.1 880831: Implementation |
| 12 |
# .VERSION 2.1 901203: New directory structure. CG |
| 13 |
# .VERSION 3.0 930308: Using default.mk file |
| 14 |
|
| 15 |
include ../../../local/default.mk |
| 16 |
|
| 17 |
LIB = $(LIBDIR)/libsubmid.a |
| 18 |
|
| 19 |
OBJ = iic.o iid.o iig.o iii.o iil.o iim.o iir.o iiz.o |
| 20 |
|
| 21 |
# DEPENDENCIES: |
| 22 |
all: $(MAKEFILE_VMS) $(LIB) |
| 23 |
|
| 24 |
$(MAKEFILE_VMS): makefile |
| 25 |
$(MAKE_VMS) |
| 26 |
|
| 27 |
$(LIB): $(OBJ) |
| 28 |
$(AR) $(AR_OPT) $(LIB) $(OBJ) |
| 29 |
$(RANLIB) $(LIB) |
| 30 |
|
| 31 |
clean: |
| 32 |
rm -f $(OBJ) *.f |