added TESTOPTS
[charm.git] / tests / converse / megacon / Makefile
1 CHARMC=../../../bin/charmc $(OPTS)
2
3 OBJS=blkinhand.o megacon.o ringsimple.o ring.o fibobj.o fibthr.o broadc.o priotest.o deadlock.o vars.o nodenum.o specmsg.o bigmsg.o vecsend.o posixth.o future.o multicast.o multisend.o handler.o reduction.o
4
5 all: pgm
6
7 pgm: $(OBJS) 
8         $(CHARMC) -o pgm $(OBJS) -language converse++
9
10 megacon.o: megacon.c
11         $(CHARMC) -gen-cpm megacon.c
12         $(CHARMC) megacon.c
13
14 blkinhand.o: blkinhand.c
15         $(CHARMC) -gen-cpm blkinhand.c
16         $(CHARMC) blkinhand.c
17
18 ring.o: ring.c
19         $(CHARMC) -gen-cpm ring.c
20         $(CHARMC) ring.c
21
22 ringsimple.o: ringsimple.c
23         $(CHARMC) ringsimple.c
24
25 vecsend.o: vecsend.c
26         $(CHARMC) -gen-cpm vecsend.c
27         $(CHARMC) vecsend.c
28
29 multicast.o: multicast.c
30         $(CHARMC) multicast.c
31
32 fibobj.o: fibobj.c
33         $(CHARMC) -gen-cpm fibobj.c
34         $(CHARMC) fibobj.c
35
36 fibthr.o: fibthr.c
37         $(CHARMC) -gen-cpm fibthr.c
38         $(CHARMC) fibthr.c
39
40 broadc.o: broadc.c
41         $(CHARMC) broadc.c
42
43 priotest.o: priotest.c
44         $(CHARMC) -gen-cpm priotest.c
45         $(CHARMC) priotest.c
46
47 deadlock.o: deadlock.c
48         $(CHARMC) deadlock.c
49
50 vars.o: vars.c
51         $(CHARMC) -gen-cpm vars.c
52         $(CHARMC) vars.c
53
54 nodenum.o: nodenum.c
55         $(CHARMC) -gen-cpm nodenum.c
56         $(CHARMC) nodenum.c
57
58 future.o: future.c
59         $(CHARMC) -gen-cpm future.c
60         $(CHARMC) future.c
61
62 specmsg.o: specmsg.c
63         $(CHARMC) -gen-cpm specmsg.c
64         $(CHARMC) specmsg.c
65
66 bigmsg.o: bigmsg.c
67         $(CHARMC) -gen-cpm bigmsg.c
68         $(CHARMC) bigmsg.c
69
70 posixth.o: posixth.c
71         $(CHARMC) -gen-cpm posixth.c
72         $(CHARMC) posixth.c
73
74 multisend.o: multisend.c
75         $(CHARMC) multisend.c
76
77 handler.o: handler.c
78         $(CHARMC) handler.c
79
80 reduction.o: reduction.c
81         $(CHARMC) reduction.c
82
83 clean:
84         rm -f core *.cpm.h
85         rm -f TAGS *.o
86         rm -f pgm
87         rm -f conv-host charmrun
88
89 test: pgm
90         ./charmrun ./pgm +p1 $(TESTOPTS)
91         ./charmrun ./pgm +p2 $(TESTOPTS)
92         ./charmrun ./pgm +p3 $(TESTOPTS)
93         ./charmrun ./pgm +p4 $(TESTOPTS)