3aab0d689df0a7ed46bf8e9bcabdd9bb4943a50a
[charm.git] / tests / charm++ / pingpong / Makefile
1 CHARMC=../../../bin/charmc $(OPTS)
2
3 OBJS = pingpong.o
4
5 all:    cifiles pgm
6
7 pgm: $(OBJS)
8         $(CHARMC) -language charm++ -o pgm $(OBJS)
9
10 cifiles: pingpong.ci
11         $(CHARMC)  pingpong.ci
12
13 clean:
14         rm -f *.decl.h *.def.h conv-host *.o pgm charmrun
15
16 pingpong.o: pingpong.C
17         $(CHARMC) -c pingpong.C
18
19 test: all
20         @echo "Intra-processor Pingpong.."
21         ./charmrun ./pgm +p1
22         @echo "Inter-processor Pingpong.."
23         ./charmrun ./pgm +p2
24
25 bgtest: all
26         @echo "Intra-processor Pingpong.."
27         ./charmrun ./pgm +p1 +x1 +y1 +z1
28         @echo "Inter-processor Pingpong.."
29         ./charmrun ./pgm +p2 +x2 +y1 +z1
30