# written by Zheng Gengbin

srcdir      = @srcdir@
top_srcdir  = @top_srcdir@

SUBDIR =  comprehensive basic outofcore

default: subdirs

subdirs:
	@for dir in $(SUBDIR) ;\
                do \
                        echo " " ;\
                        echo Making in directory $$dir ;\
                        (cd $$dir; $(MAKE)) ;\
                done

testing:
	@for dir in $(SUBDIR) ;\
                do \
                        echo " " ;\
                        echo Making tests in directory $$dir ;\
                        (cd $$dir; $(MAKE) testing) ;\
                done

all: subdirs

clean:
	@for i in ${SUBDIR} ; \
	do (cd $$i; $(MAKE) "MAKE=$(MAKE)" clean); done

distclean: 
	@for i in ${SUBDIR} ; \
	do (cd $$i; $(MAKE) "MAKE=$(MAKE)" distclean); done

install:

uninstall:


