# File         : Makefile
# Author       : Sung-Hoon Ko, Xinying Li
# Created      : Thu Apr  9 12:22:15 1998
# Revision     : ver 1.1
# Updated      : $Date: 1999/03/03 19:55:53 $
# Copyright: Northeast Parallel Architectures Center at Syracuse University 1998


SHELL=/bin/sh

VERSION = @VERSION@

srcdir      = @srcdir@
top_srcdir  = @top_srcdir@

SUBDIR = ccl ccl_ObjSer comm dtyp dtyp_ObjSer env group pt2pt pt2pt_ObjSer topo

VPATH = .:${srcdir}

all: check

check:
	@echo "Recursively checking subdir:"${SUBDIR}
	@for i in ${SUBDIR}; \
	do (cd $$i; $(MAKE) "MAKE=$(MAKE)" -i check); done

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
	rm -f *.rec

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

compare:
	@echo "Comparing current package information with recorded one"

