| 1 |
# @(#)makefile 19.1 (ESO-IPG) 02/25/03 13:53:55 |
| 2 |
# .COPYRIGHT: Copyright (c) 1988 European Southern Observatory, |
| 3 |
# all rights reserved |
| 4 |
# .TYPE make file |
| 5 |
# .NAME $MIDASHOME/$MIDVERS/stdred/astro/lib/makefile |
| 6 |
# .LANGUAGE makefile syntax |
| 7 |
# .ENVIRONMENT Unix Systems. |
| 8 |
# .COMMENT Compiles source files and generates "libastro.a" library. |
| 9 |
# |
| 10 |
# .REMARKS |
| 11 |
# .AUTHOR Carlos Guirao |
| 12 |
# .VERSION 1.1 930201: Implementation |
| 13 |
|
| 14 |
include ../../local/default.mk |
| 15 |
|
| 16 |
LIB = $(LIBDIR)/libastro.a |
| 17 |
|
| 18 |
OBJ=ast_bgal.o ast_ecl.o ast_jgal.o ast_trace.o ast_trigoc.o\ |
| 19 |
ast_bprec.o ast_edq.o ast_jprec.o ast_traq.o ast_trigod.o\ |
| 20 |
ast_coos.o ast_error.o ast_project.o ast_tratime.o ast_trjd.o \ |
| 21 |
ast_cotr.o ast_fk4fk5.o ast_supergal.o ast_trerror.o ast_trtime.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) |