1
# @(#)makefile 19.1 (ESO-IPG) 02/25/03 13:24:47
2
# .COPYRIGHT: Copyright (c) 1988 European Southern Observatory,
5
# .NAME $MIDASHOME/$MIDVERS/contrib/geotest/src/makefile
6
# .LANGUAGE makefile syntax
7
# .ENVIRONMENT Unix Systems.
8
# .COMMENT Compiles source files and generates "geotest" commands
12
# .VERSION 1.1 880831: Implementation
13
# .VERSION 1.2 890104: Generating makefile.com for VMS systems
14
# .VERSION 2.1 901102: new directory structure CG.
15
# .VERSION 3.0 930308: Using default.mk file
17
include ../../../local/default.mk
21
LLIB = -L$(LIBDIR) -lmidas
22
LLIB1 = -L$(LIBDIR) -lgen -lmidas
24
LIBS = $(LIBDIR)/libmidas.a
26
LIBS1 = $(LIBDIR)/libgen.a \
29
OUT = $(M)/chaos.exe $(M)/spec1.exe \
30
$(M)/spec2.exe $(M)/spec3b.exe $(M)/spec3g.exe \
31
$(M)/waves.exe $(M)/sdp.exe $(M)/ramp.exe
35
all: $(MAKEFILE_VMS) $(OUT)
37
$(MAKEFILE_VMS): makefile
40
$(M)/sdp.exe: sdp.o $(LIBS)
41
$(LD77) sdp.o $(LLIB) $(SLIB) -o $@
43
$(M)/chaos.exe: chaos.o $(LIBS1)
44
$(LD77) chaos.o $(LLIB1) $(SLIB) -o $@
46
$(M)/ramp.exe: ramp.o $(LIBS)
47
$(LD77) ramp.o $(LLIB) $(SLIB) -o $@
49
$(M)/spec1.exe: spec1.o $(LIBS)
50
$(LD77) spec1.o $(LLIB) $(SLIB) -o $@
52
$(M)/spec2.exe: spec2.o $(LIBS)
53
$(LD77) spec2.o $(LLIB) $(SLIB) -o $@
55
$(M)/spec3b.exe: spec3b.o $(LIBS)
56
$(LD77) spec3b.o $(LLIB) $(SLIB) -o $@
58
$(M)/spec3g.exe: spec3g.o $(LIBS)
59
$(LD77) spec3g.o $(LLIB) $(SLIB) -o $@
61
$(M)/waves.exe: waves.o $(LIBS)
62
$(LD77) waves.o $(LLIB) $(SLIB) -o $@