Bug #2020: Test `mpicxx -show` more robustly
[charm.git] / tests / Makefile
blobeafe10e19892d99c8407ab3143fd31815bf6369a
1 # Temporary hack that needs to be removed / replaced
2 -include ../include/conv-mach-opt.mak
3 OPTS += $(OPTSATBUILDTIME)
5 DIRS = \
6 util \
7 charm++ \
8 converse \
9 ampi \
11 BGDIRS = \
12 charm++ \
13 ampi \
15 FTDIRS = \
16 charm++ \
17 ampi \
19 TESTDIRS = $(DIRS)
21 all: $(foreach i,$(DIRS),build-$i)
23 test: $(foreach i,$(TESTDIRS),test-$i)
25 bgtest: $(foreach i,$(filter $(BGDIRS),$(TESTDIRS)),bgtest-$i)
27 syncfttest causalfttest mpisyncfttest mlogfttest: $(foreach i,$(filter $(FTDIRS),$(TESTDIRS)),test-$i)
29 clean: $(foreach i,$(DIRS),clean-$i)
30 rm -f TAGS #*#
31 rm -f core *~
33 $(foreach i,$(DIRS),build-$i):
34 $(MAKE) -C $(subst build-,,$@) all OPTS='$(OPTS)'
36 $(foreach i,$(DIRS),test-$i):
37 $(MAKE) -C $(subst test-,,$@) test OPTS='$(OPTS)' TESTOPTS='$(TESTOPTS)'
39 $(foreach i,$(DIRS),bgtest-$i):
40 $(MAKE) -C $(subst bgtest-,,$@) bgtest OPTS='$(OPTS)' TESTOPTS='$(TESTOPTS)'
42 $(foreach i,$(DIRS),clean-$i):
43 $(MAKE) -C $(subst clean-,,$@) clean OPTS='$(OPTS)'
45 test-AMPI: test-ampi
46 test-charm: test-charm++