| 1 | # @(#)makefile 19.1 (ESO-IPG) 02/25/03 13:19:39 |
| 2 | # .COPYRIGHT: Copyright (c) 1988 European Southern Observatory, |
| 3 | # all rights reserved |
| 4 | # .TYPE make file |
| 5 | # .NAME $MIDASHOME/$MIDVERS/applic/statist/lib/makefile |
| 6 | # .LANGUAGE makefile syntax |
| 7 | # .ENVIRONMENT Unix Systems. |
| 8 | # .COMMENT Compiles source files and generates "plota.a" library. |
| 9 | # |
| 10 | # .REMARKS |
| 11 | # |
| 12 | # .AUTHOR Rein Warmels |
| 13 | # .VERSION 1.1 891124: Implementation |
| 14 | # .VERSION 2.1 901102: new directory structure CG. |
| 15 | # .VERSION 3.0 930308: Using default.mk file |
| 16 | |
| 17 | include ../../../local/default.mk |
| 18 | |
| 19 | LIB = $(LIBDIR)/libaplot.a |
| 20 | |
| 21 | OBJ = calfon.o intfr.o plflux.o spflx.o getpix.o coord.o alint.o sort2.o |
| 22 | |
| 23 | # DEPENDENCIES: |
| 24 | all: $(MAKEFILE_VMS) $(LIB) |
| 25 | |
| 26 | $(MAKEFILE_VMS): makefile |
| 27 | $(MAKE_VMS) |
| 28 | |
| 29 | $(LIB): $(OBJ) |
| 30 | $(AR) $(AR_OPT) $(LIB) $(OBJ) |
| 31 | $(RANLIB) $(LIB) |
| 32 | |
| 33 | clean: |
| 34 | rm -f $(OBJ) |
| 35 | rm -f *.f |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 |