1
# @(#)makefile 19.1 (ESO-SDAG) 02/25/03 13:23:13
2
# .COPYRIGHT: Copyright (c) 1988 European Southern Observatory,
5
# .NAME $MIDASHOME/$MIDVERS/contrib/pos1/src/makefile
6
# .LANGUAGE makefile syntax
7
# .ENVIRONMENT Unix Systems.
8
# .COMMENT Compiles source files and generates "pos1" commands
12
# .VERSION 1.1 900620: RHW Implementation
13
# .VERSION 2.1 901102: new directory structure CG.
14
# .VERSION 3.0 930308: Using default.mk file
16
include ../../../local/default.mk
20
LLIB = -L$(LLIBDIR) -lpos1 -L$(LIBDIR) -lftab -lgen -lmidas
22
LIBS = $(LLIBDIR)/libpos1.a\
27
OUT = $(M)/pos1a.exe $(M)/pos1b.exe
31
all: $(MAKEFILE_VMS) $(OUT)
33
$(MAKEFILE_VMS): makefile
36
$(M)/pos1a.exe: pos1a.o $(LIBS)
37
$(LD77) pos1a.o $(LLIB) $(SLIB) -o $@
40
$(M)/pos1b.exe: pos1b.o $(LIBS)
41
$(LD77) pos1b.o $(LLIB) $(SLIB) -o $@