build: fix travis MPI/SMP build
[charm.git] / tests / converse / Makefile
blobf88f63992ff8cdc7808f71de7f35007d06bb5280
1 DIRS = \
2 megacon \
4 TESTDIRS = $(DIRS)
6 all: $(foreach i,$(DIRS),build-$i)
8 test: $(foreach i,$(TESTDIRS),test-$i)
10 clean: $(foreach i,$(DIRS),clean-$i)
11 rm -f TAGS #*#
12 rm -f core *~
14 $(foreach i,$(DIRS),build-$i):
15 $(MAKE) -C $(subst build-,,$@) all OPTS='$(OPTS)'
17 $(foreach i,$(DIRS),test-$i):
18 $(MAKE) -C $(subst test-,,$@) test OPTS='$(OPTS)' TESTOPTS='$(TESTOPTS)'
20 $(foreach i,$(DIRS),clean-$i):
21 $(MAKE) -C $(subst clean-,,$@) clean OPTS='$(OPTS)'