ALL: default ##### User configurable options ##### MPIR_HOME = @MPIR_HOME@ CC = @MPICC@ CLINKER = @MPICC@ CCC = @MPICPLUSPLUS@ CCLINKER = $(CCC) F77 = @MPIF77@ FLINKER = @MPIF77@ OPTFLAGS = @OPTFLAGS@ MPIFDEP = @MPIFDEP@ ### End User configurable options ### SHELL = /bin/sh prefix = @prefix@ top_srcdir = @top_srcdir@ srcdir = @srcdir@ @VPATH@ PROFLIB = CFLAGS = @DEFS@ $(OPTFLAGS) CCFLAGS = $(CFLAGS) FFLAGS = $(OPTFLAGS) @FFLAGS@ # Use LIBS to add any special libraries for C programs LIBS = @LIB_PATH@ @LIB_LIST@ # Use FLIBS to add any special libraries for Fortran programs FLIBS = @FLIB_PATH@ @LIB_LIST@ EXECS = attrtest attrt ictest ictest2 ictest3 grouptest groupcreate \ attrerr icdup OTHEREXECS = attrtest MPI2EXECS = commnames commnamesf default: $(EXECS) fortran_tests: attrtest commnamesf # # Note that runtests builds the executables as required testing: -./runtests $(TESTARGS) linktest: default clean all: testing attrtest: $(MPIFDEP) attrtest.o $(FLINKER) $(OPTFLAGS) -o attrtest attrtest.o $(FLIBS) commnamesf: $(MPIFDEP) commnamesf.o $(FLINKER) $(OPTFLAGS) -o commnamesf commnamesf.o $(FLIBS) attrt: attrt.o test.o $(CLINKER) $(OPTFLAGS) -o attrt attrt.o test.o $(LIBS) attrerr: attrerr.o test.o $(CLINKER) $(OPTFLAGS) -o attrerr attrerr.o test.o $(LIBS) commnames: commnames.o $(CLINKER) $(OPTFLAGS) -o commnames commnames.o $(LIBS) ictest: ictest.o $(CLINKER) $(OPTFLAGS) -o ictest ictest.o $(LIBS) ictest2: ictest2.o $(CLINKER) $(OPTFLAGS) -o ictest2 ictest2.o $(LIBS) ictest3: ictest3.o $(CLINKER) $(OPTFLAGS) -o ictest3 ictest3.o $(LIBS) icdup: icdup.o $(CLINKER) $(OPTFLAGS) -o icdup icdup.o $(LIBS) grouptest: grouptest.o $(CLINKER) $(OPTFLAGS) -o grouptest grouptest.o $(LIBS) groupcreate: groupcreate.o $(CLINKER) $(OPTFLAGS) -o groupcreate groupcreate.o $(LIBS) clean: @-rm -f *.o *~ PI* $(EXECS) $(OTHEREXECS) $(MPI2EXECS) \ core *.out *.diff *.trace mpif.h ${srcdir}/*.o *.stdo @-rm -f work.pc work.pcl .c.o: $(CC) $(CFLAGS) -c $< .f.o: $(F77) $(FFLAGS) -c $<