#
# Makefile for ECAT
#

SHELL	= bash
CC	= cc

SUBDIRS	= db index index/db ksign/motif profile transd sprofile

all:
	for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir all ; done

clean:
	for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir clean ; done
	$(MAKE) -C index/db -f make.index clean

tarball:
	$(MAKE) clean
	tar --create --gzip --verbose --file mit.tgz\
		--exclude mit.tgz\
		--exclude CVS\
		--exclude '*.p'\
		.
