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