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