# @(#)makefile 2.2 (ESO-IPG) 10/16/91 19:24:28 # .COPYRIGHT: Copyright (c) 1988 European Southern Observatory, # all rights reserved # .TYPE make file # .NAME */proc/makefile # .LANGUAGE makefile syntax # .ENVIRONMENT Unix Systems. # .COMMENT Copy *.prg files to common "proc" directory. # .REMARKS # .AUTHOR Carlos Guirao # .VERSION 1.1 901102: new directory structure CG. # .VERSION 1.2 910212: A bit faster. # .VERSION 2.2 911015: Simplified with soft links. SHELL=/bin/sh PROCDIR=../../proc LN=ln -s all: clean @(PCK=`pwd | sed -e 's/\/proc$$//' -e 's/^.*\///'`; \ for file in *.prg; \ do $(LN) ../$$PCK/proc/$$file $(PROCDIR)/$$file; \ done;) clean: @(OBJS=`ls *.prg` ; cd $(PROCDIR) ; rm -f $$OBJS)