Debian Codegraph @

stdred/feros/proc/makefile

raw
1 # @(#)makefile 19.1 (ESO-IPG) 02/25/03 14:22:03
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)