~ubuntu-branches/ubuntu/wily/eso-midas/wily-proposed

« back to all changes in this revision

Viewing changes to stdred/mos/proc/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  2.1.1.2 (ESO-IPG) 10/16/91 19:27:16
 
2
# .COPYRIGHT:   Copyright (c) 1988 European Southern Observatory,
 
3
#                                               all rights reserved
 
4
# .TYPE         make file
 
5
# .NAME         */proc/makefile
 
6
# .LANGUAGE     makefile syntax
 
7
# .ENVIRONMENT  Unix Systems. 
 
8
# .COMMENT      Copy *.prg files to common "proc" directory.
 
9
# .REMARKS 
 
10
# .AUTHOR       Carlos Guirao
 
11
# .VERSION 1.1  901102:         new directory structure CG.
 
12
# .VERSION 1.2  910212:         A bit faster.
 
13
# .VERSION 2.2  911015:         Simplified with soft links.
 
14
 
 
15
SHELL=/bin/sh
 
16
PROCDIR=../../proc
 
17
LN=ln -s
 
18
 
 
19
all: clean
 
20
        @(PCK=`pwd | sed -e 's/\/proc$$//' -e 's/^.*\///'`; \
 
21
        for file in *.prg; \
 
22
                do  $(LN) ../$$PCK/proc/$$file $(PROCDIR)/$$file; \
 
23
        done)
 
24
 
 
25
 
 
26
clean:
 
27
        @(OBJS=`ls *.prg` ; cd $(PROCDIR) ; rm -f $$OBJS)