Merge branch 'charm' of charmgit:charm into charm
[charm.git] / examples / charm++ / load_balancing / kNeighbor / Makefile
1 OPTS    = -O3
2 CHARMC  = ../../../../bin/charmc $(OPTS)
3
4 OBJS    = kNeighbor.o
5
6 all: kNeighbor 
7
8 kNeighbor: $(OBJS)
9         $(CHARMC) -language charm++ -module CommonLBs -o kNeighbor $(OBJS)
10
11 projections: $(COMPOBJS)
12         $(CHARMC) -language charm++ -tracemode projections -lz -o kNeighbor.prj $(OBJS)
13
14 kNeighbor.decl.h: kNeighbor.ci
15         $(CHARMC) kNeighbor.ci
16
17 kNeighbor.o: kNeighbor.C kNeighbor.decl.h
18         $(CHARMC) -c kNeighbor.C
19
20 clean:
21         rm -f *.decl.h *.def.h conv-host *.o charmrun *~ kNeighbor kNeighbor.prj
22
23 test: all
24         ./charmrun +p4 ./kNeighbor 4 50 128 10 +balancer GreedyLB +LBDebug 1 $(TESTOPTS)
25
26 bgtest: all
27         ./charmrun +p4 ./kNeighbor 4 50 128 10 +balancer GreedyLB +x2 +y2 +z1 +cth1 +wth1 +LBDebug 1 $(TESTOPTS)
28