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

« back to all changes in this revision

Viewing changes to util/ltape/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 14:36:12 */
 
2
#.COPYRIGHT:    Copyright (c) 1990 European Southern Observatory,
 
3
#                                               all rights reserved
 
4
#.TYPE          make file
 
5
#.NAME          makefile
 
6
#.LANGUAGE      makefile syntax
 
7
#.ENVIRONMENT   Unix Systems. 
 
8
#.COMMENT       Compiles source files and generates utility programs
 
9
#
 
10
#.REMARKS       
 
11
#.AUTHOR        Preben J.Grosbol, ESO/IPG
 
12
#.VERSION       1.0     1990-Aug-24 :  Creation, PJG
 
13
#.VERSION       1.1     1991-Oct-01 :  Creating makefile.com
 
14
#.VERSION       2.2     920521:        Removing MLIB CG
 
15
#.VERSION       3.1     940503:        dcparm.o in libmutil.a
 
16
 
 
17
include ../../local/default.mk
 
18
 
 
19
M = ../exec
 
20
 
 
21
OBJ = ltape.o
 
22
LIB =   -L$(LIBDIR) -lmutil -lmidas
 
23
LIBS =  $(LIBDIR)/libmutil.a $(LIBDIR)/libmidas.a
 
24
OUT = $(M)/ltape.exe
 
25
 
 
26
# DEPENDENCIES:
 
27
all: $(MAKEFILE_VMS) $(OUT)
 
28
 
 
29
$(MAKEFILE_VMS): makefile
 
30
        $(MAKE_VMS)
 
31
 
 
32
$(OUT): $(OBJ) $(LIBS)
 
33
        $(LDCC) $(OBJ) $(LIB) $(MLIB) $(SLIB) -o $@
 
34
        $(STRIP) $@
 
35
 
 
36
clean_exec:
 
37
        rm -f $(OUT) 
 
38
 
 
39
clean:
 
40
        rm -f $(OBJ)