| 1 |
# @(#)makefile 19.1 (ESO-IPG) 02/25/03 14:27:33 |
| 2 |
# .COPYRIGHT: Copyright (c) 1993 European Southern Observatory, |
| 3 |
# all rights reserved |
| 4 |
# .TYPE make file |
| 5 |
# .NAME $MIDASHOME/$MIDVERS/contrib/romafot/lib/makefile |
| 6 |
# .LANGUAGE makefile syntax |
| 7 |
# .ENVIRONMENT Unix Systems. |
| 8 |
# .COMMENT Compiles source files and generates "opto.a" library. |
| 9 |
# .REMARKS |
| 10 |
# |
| 11 |
# .AUTHOR |
| 12 |
# .VERSION 1.1 890402: Implementation |
| 13 |
# .VERSION 2.1 901102: new directory structure CG. |
| 14 |
# .VERSION 3.0 930308: Using default.mk file |
| 15 |
|
| 16 |
include ../../../local/default.mk |
| 17 |
|
| 18 |
LIB = $(LLIBDIR)/libopto.a |
| 19 |
|
| 20 |
OBJ = usrinp.o alpha.o |
| 21 |
|
| 22 |
# DEPENDENCIES: |
| 23 |
all: $(MAKEFILE_VMS) $(LIB) |
| 24 |
|
| 25 |
$(MAKEFILE_VMS): makefile |
| 26 |
$(MAKE_VMS) |
| 27 |
|
| 28 |
$(LIB): $(OBJ) |
| 29 |
$(AR) $(AR_OPT) $(LIB) $(OBJ) |
| 30 |
$(RANLIB) $(LIB) |
| 31 |
|
| 32 |
clean: |
| 33 |
rm -f $(OBJ) |
| 34 |
rm -f *.f |
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|