CLEANDIRS=chnhash globals linteger lmisc prng
DISTCLEANNDIRS=chnhash globals linteger lmisc prng

clean-subs:
	for DIR  in $(CLEANDIRS) ; do  ( cd $$DIR ; make clean ) ;  done 	

dist-clean-subs:
	for DIR  in $(DISTCLEANDIRS) ; \
	do  ( cd $$DIR ; make dist-clean ) ; \
 	done 	

clean-this:
	rm -f *~ *.bak

dist-clean-this:     clean

clean:	clean-this clean-subs

dist-clean:	dist-clean-this dist-clean-subs
