Adding performance benchmarks for CmiReduce and Broadcast in commbench
[charm.git] / tests / converse / commbench / Makefile
1 CHARMC=../../../bin/charmc $(OPTS)
2
3 OBJS=memoryAccess.o commbench.o overhead.o timer.o proc.o smputil.o pingpong.o \
4     broadcast.o reduction.o ctxt.o
5
6 all: pgm
7
8 pgm: $(OBJS) 
9         $(CHARMC) -o pgm $(OBJS) -language converse++
10
11 test: pgm
12         ./charmrun ./pgm +p4 $(TESTOPTS)
13
14 memoryAccess.o: memoryAccess.c
15         $(CHARMC) memoryAccess.c
16
17 commbench.o: commbench.c
18         $(CHARMC) commbench.c
19
20 overhead.o: overhead.c
21         $(CHARMC) overhead.c
22
23 timer.o: timer.c
24         $(CHARMC) timer.c
25
26 proc.o: proc.c
27         $(CHARMC) proc.c
28
29 smputil.o: smputil.c
30         $(CHARMC) smputil.c
31
32 pingpong.o: pingpong.c
33         $(CHARMC) pingpong.c
34
35 broadcast.o: broadcast.c
36         $(CHARMC) broadcast.c
37
38 reduction.o: reduction.c
39         $(CHARMC) reduction.c
40
41 ctxt.o: ctxt.c
42         $(CHARMC) ctxt.c
43
44 clean:
45         rm -f core *.cpm.h
46         rm -f TAGS *.o
47         rm -f pgm
48         rm -f conv-host charmrun charmrun.exe pgm.exe pgm.pdb pgm.ilk
49