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

# f90/ext/Makefile.  Generated from Makefile.in by configure.

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

SHELL           = /bin/sh
srcdir          = .
abs_srcdir      = /proj/tpfimos/larour/Libraries/linux/mpich2-1.0.2p1/test/mpi/f90/ext
DEFS            = -DHAVE_CONFIG_H -I. -I${srcdir}
INCLUDES        = 
CPPFLAGS        = 
LIBS            = 
MPILIBNAME      = mpich
PMPILIBNAME     = @PMPILIBNAME@

CC              = /proj/tpfimos/larour/Libraries/linux/mpich2-gnu//bin/mpicc
CFLAGS          = 
C_COMPILE       = $(CC) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
F90              = /proj/tpfimos/larour/Libraries/linux/mpich2-gnu//bin/mpif90
F90FLAGS        = -g -O2
F90_COMPILE     = $(F90) $(F90FLAGS) $(F90INCLUDES)
F90_LINK    = $(F90)
LDFLAGS     =   ../util/mtestf90.o 

VPATH = .

.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)
clean:
	-@rm -f *.o ${srcdir}/*.o allocmem c2f2cf90
	-@rm -f allocmem.exe c2f2cf90.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
	-@rm -rf autom4te*.cache
	-@rm -rf $(DEPS_DIR)
	-@rm -f TAGS
remove-makefile:
	rm -f Makefile
remove-genmakefiles:
	rm -f  Makefile
all-redirect: c2f2cf90

allocmem: allocmem.o    ../util/mtestf90.o
	$(F90_LINK) $(LDFLAGS) -o allocmem allocmem.o  ${LIBS}
c2f2cf90: c2f2c.o c2f2cf90.o    ../util/mtestf90.o
	$(F90_LINK) $(LDFLAGS) -o c2f2cf90 c2f2c.o c2f2cf90.o  ${LIBS}
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
SOURCES         =  allocmem.f90 c2f2c.c c2f2cf90.f90
ETAGS           = etags --langmap=c:+.i
tags: TAGS
TAGS:${HEADERS} ${SOURCES}
	here=`cd ../../../.. && pwd` ; cd ${srcdir} && $(ETAGS) -o $$here/TAGS --append ${HEADERS} ${SOURCES}
# --------------------------------------------------------------------------



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


FORCE_TARGET:

