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


1.2
date	2002.01.18.20.34.19;	author pnarula;	state Exp;
branches;
next	1.1;

1.1
date	2001.05.22.22.06.56;	author pnarula;	state Exp;
branches;
next	;


desc
@@


1.2
log
@updated the code for AMR
@
text
@# Makefile for AMR (Adaptive Mesh Refinement) library

CDIR=../../../..
CHARMC=$(CDIR)/bin/charmc $(OPTS)

OBJS = 	amr.o fifo.o statcoll.o
HEADERS=amr.h bitvec.h fifo.h amr.decl.h amr.def.h statcoll.h

all: libamr.a headers

libamr.a: $(HEADERS) $(OBJS)
	$(CHARMC) -cp $(CDIR)/lib -o libamr.a $(OBJS)

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

amr.decl.h amr.def.h : amr.ci
	$(CHARMC) amr.ci

amr.o: amr.C $(HEADERS)
	$(CHARMC) -c amr.C

fifo.o: fifo.c fifo.h
	$(CHARMC) -c fifo.c

statcoll.o: statcoll.C statcoll.h
	$(CHARMC) -c statcoll.C

clean:
	rm -rf *.a *.def.h *.decl.h *.o SunWS_cache




@


1.1
log
@AMR code with 1D and 2D
@
text
@d6 2
a7 2
OBJS = 	amr.o fifo.o
HEADERS=amr.h bitvec.h fifo.h amr.decl.h amr.def.h
d25 3
@

