# $Id: makefile,v 1.11 2001/08/22 18:02:45 balay Exp $

# -----------------------------------------------------------------------
# Specify  user-defined compiler flags
# -----------------------------------------------------------------------
CFLAGS    =
# -----------------------------------------------------------------------
# Define application source and examples
# -----------------------------------------------------------------------
#

ALL: main

LOCDIR         = /src/sles/pc/impls/is/feti
EXAMPLESC      = ex1.c
EXAMPLESO      = ex1.o

ex1: chkopts ${EXAMPLESO}
	-$(RM) ex1
	-$(CLINKER) -o ex1 ${EXAMPLESO} $(PETSC_SLES_LIB)
	-$(RM) ${EXAMPLESO}

run: 
	mpirun -np 3 ex1 -N 27

# provide input files e.g. fetidp_data.tgz

include $(PETSC_DIR)/bmake/common/base

include $(PETSC_DIR)/bmake/common/test
