added CQWrite support for persistent message
[charm.git] / tests / charm++ / pingpong / Makefile
1 SRC=../../../src
2 CHARMC=../../../bin/charmc $(OPTS)
3
4 OBJS = pingpong.o
5
6 all:    pgm
7
8 pgm: $(OBJS)
9         $(CHARMC) -language charm++ -o pgm $(OBJS)
10
11 pgm.prj: $(OBJS)
12         $(CHARMC) -tracemode projections -language charm++ -o pgm.prj $(OBJS)
13
14 cifiles: pingpong.ci
15         $(CHARMC)  pingpong.ci
16         touch cifiles
17
18 clean:
19         rm -f *.decl.h *.def.h conv-host *.o pgm charmrun cifiles pgm.exe pgm.pdb pgm.ilk
20
21 pingpong.o: pingpong.C cifiles
22         $(CHARMC) -I$(SRC)/conv-core pingpong.C
23
24 test: all
25         @echo "Intra-processor Pingpong.."
26         ./charmrun ./pgm +p1 $(TESTOPTS)
27         @echo "Inter-processor Pingpong.."
28         ./charmrun ./pgm +p2 $(TESTOPTS)
29
30 bgtest: all
31         @echo "Intra-processor Pingpong.."
32         ./charmrun ./pgm +p1 +x1 +y1 +z1
33         @echo "Inter-processor Pingpong.."
34         ./charmrun ./pgm +p2 +x2 +y1 +z1
35