# This Makefile.in created by simplemake.  Do not edit

# @configure_input@

# --------------------------------------------------------------------------
all: all-redirect

SHELL           = @SHELL@
abs_builddir    = @abs_builddir@
srcdir          = @srcdir@
abs_srcdir      = @abs_srcdir@
DEFS            = @DEFS@ -I. -I${srcdir}
INCLUDES        = 
CPPFLAGS        = @CPPFLAGS@
LIBS            = @LIBS@
MAKE            = @MAKE@
CC              = @CC@
CFLAGS          = @CFLAGS@
C_COMPILE       = $(CC) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
C_LINK         = $(CC)
F90              = @F90@
F90FLAGS        = @F90FLAGS@
F90_COMPILE     = $(F90) $(F90FLAGS) $(F90INCLUDES)
F90_LINK       = $(F90)
LDFLAGS     =  @LDFLAGS@ 

VPATH = .:@srcdir@

.SUFFIXES:
.SUFFIXES: .o .c .f90 
.c.o:
	$(C_COMPILE) -c $<
.c:
	$(C_COMPILE) -o $* $< $(LDFLAGS) $(LIBS)
.f90.o:
	$(F90_COMPILE) -c $<
.f90:
	$(F90_COMPILE) -o $* $< $(LDFLAGS) $(LIBS)
apply: 
	$(ACTION) $(ACTION_INPUT)
clean: 
	-@rm -f *.o ${srcdir}/*.o c2f2cf90 c2f90mult allocmemf90
	-@rm -f c2f2cf90.exe c2f90mult.exe allocmemf90.exe
	-@rm -f core core.[0-9]*
	-@rm -f *.lo ${srcdir}/*.lo
	-@rm -f *.irlog*
distclean:  clean distclean-xxx remove-makefile
distclean-xxx:
	-@rm -f Makefile testlist
	-@rm -rf autom4te*.cache
	-@rm -rf $(DEPS_DIR)
	-@rm -f TAGS
remove-makefile:
	rm -f Makefile
remove-genmakefiles:
	rm -f  Makefile
all-redirect: c2f2cf90 c2f90mult

c2f2cf90: c2f2cf90.o c2f902c.o   @MPILIBLOC@ ../util/mtestf90.o
	$(F90_LINK) $(F90FLAGS) $(LDFLAGS) -o c2f2cf90 c2f2cf90.o c2f902c.o  \
	../util/mtestf90.o  ${LIBS} 
c2f90mult: c2f90mult.o   @MPILIBLOC@ ../util/mtestf90.o
	$(C_LINK) $(CFLAGS) $(LDFLAGS) -o c2f90mult c2f90mult.o  ${LIBS}
allocmemf90: allocmemf90.o   @MPILIBLOC@ ../util/mtestf90.o
	$(F90_LINK) $(F90FLAGS) $(LDFLAGS) -o allocmemf90 allocmemf90.o  \
	${LIBS} 
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
SOURCES         =  allocmemf90.f90 c2f2cf90.f90 c2f902c.c c2f90mult.c
ETAGS           = @ETAGS@ @ETAGSADD@
HEADERFILES     = $(HEADERS)
SOURCEFILES     = $(SOURCES)
tags: TAGS
TAGS: Makefile${HEADERFILES} ${SOURCEFILES}
	here=`cd ../../../.. && pwd` ; cd ${srcdir} && $(ETAGS) -o $$here/TAGS --append ${HEADERFILES} ${SOURCEFILES}
# --------------------------------------------------------------------------
# This Makefile.sm generated automatically by f77tof90
# from test/mpi/f77/ext/Makefile.sm.  DO NOT EDIT
# We don't use a general LDADD for mtestf90.o because c2fmult is a C-only
# program

# allocmemf is an "extra" program because it requires a Fortran extension



../util/mtestf90.o: 
	(cd ../util && $(MAKE) mtestf90.o)
c2f902c.c: $(srcdir)/../../f90/ext/c2f902c.c
	cp $(srcdir)/../../f90/ext/c2f902c.c c2f902c.c


FORCE_TARGET:

