~ubuntu-branches/debian/jessie/eso-midas/jessie

« back to all changes in this revision

Viewing changes to contrib/geotest/src/makefile

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-okiwi1assxkkiz39
Tags: upstream-13.09pl1.2+dfsg
ImportĀ upstreamĀ versionĀ 13.09pl1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# @(#)makefile  19.1 (ESO-IPG) 02/25/03 13:24:47
 
2
# .COPYRIGHT:   Copyright (c) 1988 European Southern Observatory,
 
3
#                                               all rights reserved
 
4
# .TYPE         make file
 
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
 
9
#
 
10
# .REMARKS      
 
11
# .AUTHOR       
 
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
 
16
 
 
17
include ../../../local/default.mk
 
18
 
 
19
M = ../../exec
 
20
 
 
21
LLIB = -L$(LIBDIR) -lmidas
 
22
LLIB1 = -L$(LIBDIR) -lgen -lmidas
 
23
 
 
24
LIBS =  $(LIBDIR)/libmidas.a 
 
25
 
 
26
LIBS1 = $(LIBDIR)/libgen.a \
 
27
        $(LIBDIR)/libmidas.a 
 
28
 
 
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
 
32
 
 
33
 
 
34
# DEPENDENCIES:
 
35
all: $(MAKEFILE_VMS) $(OUT)
 
36
 
 
37
$(MAKEFILE_VMS): makefile
 
38
        $(MAKE_VMS)
 
39
 
 
40
$(M)/sdp.exe: sdp.o $(LIBS)
 
41
        $(LD77) sdp.o $(LLIB) $(SLIB) -o $@
 
42
        $(STRIP) $@
 
43
$(M)/chaos.exe: chaos.o $(LIBS1)
 
44
        $(LD77) chaos.o $(LLIB1) $(SLIB) -o $@
 
45
        $(STRIP) $@
 
46
$(M)/ramp.exe: ramp.o $(LIBS)
 
47
        $(LD77) ramp.o $(LLIB) $(SLIB) -o $@
 
48
        $(STRIP) $@
 
49
$(M)/spec1.exe: spec1.o $(LIBS)
 
50
        $(LD77) spec1.o $(LLIB) $(SLIB) -o $@
 
51
        $(STRIP) $@
 
52
$(M)/spec2.exe: spec2.o $(LIBS)
 
53
        $(LD77) spec2.o $(LLIB) $(SLIB) -o $@
 
54
        $(STRIP) $@
 
55
$(M)/spec3b.exe: spec3b.o $(LIBS)
 
56
        $(LD77) spec3b.o $(LLIB) $(SLIB) -o $@
 
57
        $(STRIP) $@
 
58
$(M)/spec3g.exe: spec3g.o $(LIBS)
 
59
        $(LD77) spec3g.o $(LLIB) $(SLIB) -o $@
 
60
        $(STRIP) $@
 
61
$(M)/waves.exe: waves.o $(LIBS)
 
62
        $(LD77) waves.o $(LLIB) $(SLIB) -o $@
 
63
        $(STRIP) $@
 
64
 
 
65
clean_exec:
 
66
        rm -f $(OUT)
 
67
 
 
68
clean:
 
69
        rm -f *.o
 
70
        rm -f *.f