File: makefile

package info (click to toggle)
eso-midas 22.02pl1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 146,592 kB
  • sloc: ansic: 360,666; makefile: 6,230; sh: 6,003; pascal: 535; perl: 40; awk: 36; sed: 14
file content (34 lines) | stat: -rw-r--r-- 975 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# @(#)makefile	19.1 (ESO-IPG) 02/25/03 13:53:55
# .COPYRIGHT:	Copyright (c) 1988 European Southern Observatory,
#						all rights reserved
# .TYPE		make file
# .NAME		$MIDASHOME/$MIDVERS/stdred/astro/lib/makefile 
# .LANGUAGE	makefile syntax
# .ENVIRONMENT	Unix Systems. 
# .COMMENT	Compiles source files and generates "libastro.a" library.
#
# .REMARKS	
# .AUTHOR	Carlos Guirao
# .VERSION 1.1	930201:		Implementation

include ../../local/default.mk

LIB = $(LIBDIR)/libastro.a

OBJ=ast_bgal.o      ast_ecl.o       ast_jgal.o      ast_trace.o    ast_trigoc.o\
    ast_bprec.o     ast_edq.o       ast_jprec.o     ast_traq.o     ast_trigod.o\
    ast_coos.o      ast_error.o     ast_project.o   ast_tratime.o  ast_trjd.o  \
    ast_cotr.o      ast_fk4fk5.o    ast_supergal.o  ast_trerror.o  ast_trtime.o

# DEPENDENCIES:
all: $(MAKEFILE_VMS) $(LIB)

$(MAKEFILE_VMS): makefile
	$(MAKE_VMS)

$(LIB): $(OBJ)
	$(AR) $(AR_OPT) $(LIB) $(OBJ) 
	$(RANLIB) $(LIB)

clean:
	rm -f $(OBJ)