| 1 |
# @(#)makefile 19.1 (ESO) 02/25/03 14:16:04 |
| 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 |
include ../../../local/default.mk |
| 16 |
|
| 17 |
all: clean |
| 18 |
@(PCK=`pwd | sed -e 's/\/proc$$//' -e 's/^.*\///'`; \ |
| 19 |
for file in *.prg; \ |
| 20 |
do $(LN) ../$$PCK/proc/$$file $(PROCDIR)/$$file; \ |
| 21 |
done) |
| 22 |
|
| 23 |
|
| 24 |
clean: |
| 25 |
@(OBJS=`ls *.prg` ; cd $(PROCDIR) ; rm -f $$OBJS) |