# 
#$Log: makefile,v $
# Revision 1.1  1996/05/19  17:46:14  esb
# Initial revision
#
#

SHELL := /bin/csh
COMMA := ,
PWD := $(shell pwd)
FILES := demo.str simple.fun
DIRS := 

all: make populate

make: 
	co makefile
	$(foreach dir,${DIRS}, cd ${PWD}/${dir}; gmake make;)

${FILES}: %: RCS/%${COMMA}v
	co $@

populate: ${FILES}
	$(foreach dir,${DIRS}, cd ${PWD}/${dir}; gmake populate;)

clean: 
	find . -type f -name "*~"  -print -exec rm {} \;
	find . -type f -name "#*#" -print -exec rm {} \;

