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

« back to all changes in this revision

Viewing changes to contrib/astromet/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-SDAG) 02/25/03 13:23:13
 
2
# .COPYRIGHT:   Copyright (c) 1988 European Southern Observatory,
 
3
#                                               all rights reserved
 
4
# .TYPE         make file
 
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
 
9
#
 
10
# .REMARKS      
 
11
# .AUTHOR       
 
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
 
15
 
 
16
include ../../../local/default.mk
 
17
 
 
18
M = ../../exec
 
19
 
 
20
LLIB   = -L$(LLIBDIR) -lpos1 -L$(LIBDIR) -lftab -lgen -lmidas
 
21
 
 
22
LIBS =  $(LLIBDIR)/libpos1.a\
 
23
        $(LIBDIR)/libftab.a \
 
24
        $(LIBDIR)/libgen.a \
 
25
        $(LIBDIR)/libmidas.a 
 
26
 
 
27
OUT =   $(M)/pos1a.exe  $(M)/pos1b.exe
 
28
 
 
29
 
 
30
# DEPENDENCIES:
 
31
all: $(MAKEFILE_VMS) $(OUT)
 
32
 
 
33
$(MAKEFILE_VMS): makefile
 
34
        $(MAKE_VMS)
 
35
 
 
36
$(M)/pos1a.exe: pos1a.o $(LIBS)
 
37
        $(LD77) pos1a.o $(LLIB) $(SLIB) -o $@
 
38
        $(STRIP) $@
 
39
 
 
40
$(M)/pos1b.exe: pos1b.o $(LIBS)
 
41
        $(LD77) pos1b.o $(LLIB) $(SLIB) -o $@
 
42
        $(STRIP) $@
 
43
 
 
44
clean_exec:
 
45
        rm -f $(OUT)
 
46
 
 
47
clean:
 
48
        rm -f *.o
 
49
        rm -f *.f