head	1.3;
access;
symbols
	charm6_1:1.3
	charm_6_0_1:1.3
	charm6_0_1:1.3
	charm6_0:1.3
	ChaNGa_1-0:1.3
	charm5_9:1.3;
locks; strict;
comment	@# @;


1.3
date	2003.03.19.17.25.05;	author olawlor;	state Exp;
branches;
next	1.2;

1.2
date	2003.01.20.20.43.03;	author olawlor;	state Exp;
branches;
next	1.1;

1.1
date	2003.01.20.20.37.05;	author olawlor;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Removed underscore from header names, for consistency with
other Charm libraries.
@
text
@CDIR=../../../..
CHARMC=$(CDIR)/bin/charmc $(OPTS)

HEADERS=ilsi.h  ilsic.h ilsif.h  ifemc.h ifemf.h
HEADDEP=$(HEADERS) ilsi_vec.h
S_OBJS=ilsi.o cg.o
OBJS=$(S_OBJS) ifem.o
LIB=libmoduleifem

LIBDIR=$(CDIR)/lib
DEST=$(LIBDIR)/$(LIB).a

all: $(DEST)

$(DEST): $(OBJS) headers
	$(CHARMC) $(OBJS) $(COMPAT) -o $@@
	cp $(LIB).dep $(LIBDIR)/$(LIB).dep

headers: $(HEADERS)
	cp $(HEADERS) $(CDIR)/include/
	touch headers

ifem.o: ifem.C $(HEADDEP)
	$(CHARMC) -c ifem.C

ilsi.o: ilsi.C $(HEADDEP)
	$(CHARMC) -c ilsi.C

cg.o: cg.C $(HEADDEP)
	$(CHARMC) -c cg.C

solver_test: solver_test.C $(HEADDEP) $(S_OBJS)
	$(CHARMC) -seq solver_test.C $(S_OBJS) -o solver_test -lm

test: solver_test
	./solver_test 100

clean:
	rm -rf *.a *.def.h *.decl.h *.o SunWS_cache $(DEST) solver_test headers
@


1.2
log
@Blow away serial test program on "make clean".
@
text
@d4 1
a4 1
HEADERS=ilsi.h  ilsi_c.h ilsi_f.h  ifem_c.h ifem_f.h
@


1.1
log
@Wrote this little library on a lark. "ILSI" is the
Iterative Linear Solver Interface, a way to write linear
solvers that only depend on matrix-vector and dot products.
"IFEM" is a nice way to call ILSI solvers from FEM framework
programs.
@
text
@d39 1
a39 1
	rm -rf *.a *.def.h *.decl.h *.o SunWS_cache $(DEST) headers
@

