# Generated automatically from Makefile.in by configure.
ALL: default
##### User configurable options #####

ARCH        = LINUX
MPIR_HOME   = /builddir/build/BUILD/mvapich-1.2rc1/non-psm
CC          = cc
CLINKER     = $(CC)
CCC         = g++
CCLINKER    = $(CCC)
F77         = echo no Fortran compiler
FLINKER     = $(F77)
AR          = ar crl
RANLIB      = ranlib
PROFILING   = $(PMPILIB)
OPTFLAGS    = 
MPE_GRAPH   = @MPE_GRAPHICS@
#
DEVICE      = ch_gen2

### End User configurable options ###
SHELL = /bin/sh

# Were not ready to do contrib by default yet.
SUBDIRS = test perftest
TESTDIRS = test
EXECS = sendchar

default: subdirs

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

testing:
	@for dir in $(TESTDIRS) ;\
		do \
			if [ ! -d $$dir -o ! -s $$dir/Makefile ] ; then \
				continue ; fi ; \
			echo " " ;\
			echo Making tests in directory $$dir ;\
			(cd $$dir; $(MAKE) testing) ;\
		done

linktest:
	@for dir in $(SUBDIRS) ;\
		do \
			if [ ! -d $$dir -o ! -s $$dir/Makefile ] ; then \
				continue ; fi ; \
			echo " " ;\
			echo Making linktest in directory $$dir ;\
			(cd $$dir; $(MAKE) linktest) ;\
		done

all: subdirs testing

clean:
	rm -f $(EXECS) *.o
	@for dir in $(SUBDIRS) ;\
		do \
			if [ ! -d $$dir -o ! -s $$dir/Makefile ] ; then \
				continue ; fi ; \
			echo " " ;\
			echo Making clean in directory $$dir ;\
			(cd $$dir; $(MAKE) clean) ;\
		done
