Fix MPI interoperation example and add it to test script
[charm.git] / examples / charm++ / Makefile
blobf7661fe8f3037b193135434b498bea4fdf448b7b
1 DIRS = \
2 allToAll \
3 ckcallback \
4 cksequence \
5 completion \
6 fib \
7 groupsection \
8 hello \
9 immediateEntryMethod \
10 integrate \
11 integratePUPable \
12 integrateArray \
13 jacobi2d-1d-decomposition \
14 jacobi2d-2d-decomposition \
15 jacobi3d-2d-decomposition \
16 kmeans \
17 leanmd \
18 load_balancing \
19 manyToMany \
20 matmul \
21 mpi-coexist \
22 namespace \
23 piArray \
24 PUP \
25 NQueen \
26 reductions \
27 ring \
28 rings \
29 speeds \
30 sync_square \
31 threaded_ring \
32 TRAM \
33 zerocopy \
35 BGDIRS = \
36 hello \
37 integrate \
38 integratePUPable \
39 integrateArray \
40 load_balancing \
41 piArray \
42 PUP \
43 NQueen \
44 reductions \
45 ring \
46 rings \
47 speeds \
49 TESTDIRS = $(DIRS)
51 all: $(foreach i,$(DIRS),build-$i)
53 test: $(foreach i,$(TESTDIRS),test-$i)
55 bgtest: $(foreach i,$(filter $(BGDIRS),$(TESTDIRS)),bgtest-$i)
57 clean: $(foreach i,$(DIRS),clean-$i)
58 rm -f TAGS #*#
59 rm -f core *~
61 $(foreach i,$(DIRS),build-$i):
62 $(MAKE) -C $(subst build-,,$@) all OPTS='$(OPTS)'
64 $(foreach i,$(DIRS),test-$i):
65 $(MAKE) -C $(subst test-,,$@) test OPTS='$(OPTS)' TESTOPTS='$(TESTOPTS)'
67 $(foreach i,$(DIRS),bgtest-$i):
68 $(MAKE) -C $(subst bgtest-,,$@) bgtest OPTS='$(OPTS)' TESTOPTS='$(TESTOPTS)'
70 $(foreach i,$(DIRS),clean-$i):
71 $(MAKE) -C $(subst clean-,,$@) clean OPTS='$(OPTS)'