fe910c3bc458b4421b95b2f2169ab3c6af2439e8
[charm.git] / examples / amr / jacobi2D / Makefile
1
2 CHARMDIR=../../..
3 CHARMC=$(CHARMDIR)/bin/charmc $(OPTS)
4 AMRLIB=$(CHARMDIR)/lib/libamr.a
5
6 DEST=jacobi
7 OBJS =  jacobi2DAMR.o 
8
9 all: $(DEST)
10
11 $(DEST): $(OBJS)
12         $(CHARMC) -lm -language charm++ -o $(DEST) $(OBJS) $(AMRLIB)
13         chmod 755 $(DEST)
14
15 jacobi2DAMR.o: jacobi2DAMR.C jacobi2DAMR.decl.h jacobi2DAMR.def.h
16         $(CHARMC) -g -c jacobi2DAMR.C
17
18 jacobi2DAMR.decl.h jacobi2DAMR.def.h: jacobi2DAMR.ci
19         $(CHARMC) jacobi2DAMR.ci
20
21 clean:
22         rm -f *.o *~ *.de*.h $(DEST) conv-host charmrun
23