1
# @(#)makefile 5.2 (ESO-IPG) 6/3/92 10:42:29
2
# .COPYRIGHT: Copyright (c) 1988 European Southern Observatory,
5
# .NAME $MIDASHOME/$MIDVERS/contrib/pepsys/lib/makefile
6
# .LANGUAGE makefile syntax
7
# .ENVIRONMENT Unix Systems.
8
# .COMMENT Compiles source files and generates "peplib.a" library.
13
# .VERSION 1.1 881210: Implementation
14
# .VERSION 1.2 890104: Generating makefile.com for VMS systems
15
# .VERSION 2.1 901102: new directory structure CG.
16
# .VERSION 3.0 930308: Using default.mk file
17
# .VERSION 4.5 930321: ATY adds dependences
18
# .VERSION 5.2 930410: ATY adds fmt.o
20
include ../../../local/default.mk
23
LIB = $(LLIBDIR)/libpep.a
25
OBJ0 = addstr.o asker.o askfil.o cathed.o help.o lword.o match.o \
26
plansubs.o plot.o precep.o round.o subs1.o filhlp.o terror.o \
27
redsubs.o redsubs2.o space.o dlsq.o partit.o fmt.o
32
all: $(MAKEFILE_VMS) $(LIB)
35
dlsq.o: $(LINC)/kingfit.inc $(LINC)/dlsq.inc
37
plansubs.o: $(LINC)/mbands.inc $(LINC)/mstars.inc
39
redsubs.o: $(LINC)/mstars.inc
41
redsubs2.o: $(LINC)/obs.inc $(LINC)/mbands.inc $(LINC)/mstars.inc \
42
$(LINC)/kingfit.inc $(LINC)/dlsq.inc
44
subs1.o: $(LINC)/mbands.inc $(LINC)/mstars.inc
48
$(MAKEFILE_VMS): makefile
52
$(AR) $(AR_OPT) $(LIB) $(OBJ0)