1 # Temporary hack that needs to be removed / replaced
2 -include ..
/tmp
/buildopts.mk
3 OPTS
+= $(OPTSATBUILDTIME
)
19 all: $(foreach i
,$(DIRS
),build-
$i)
21 test: $(foreach i
,$(TESTDIRS
),test-
$i)
23 bgtest
: $(foreach i
,$(filter $(BGDIRS
),$(TESTDIRS
)),bgtest-
$i)
25 clean: $(foreach i
,$(DIRS
),clean-
$i)
29 $(foreach i
,$(DIRS
),build-
$i):
30 $(MAKE
) -C
$(subst build-
,,$@
) all OPTS
='$(OPTS)'
32 $(foreach i
,$(DIRS
),test-
$i):
33 $(MAKE
) -C
$(subst test-
,,$@
) test OPTS
='$(OPTS)' TESTOPTS
='$(TESTOPTS)'
35 $(foreach i
,$(DIRS
),bgtest-
$i):
36 $(MAKE
) -C
$(subst bgtest-
,,$@
) bgtest OPTS
='$(OPTS)' TESTOPTS
='$(TESTOPTS)'
38 $(foreach i
,$(DIRS
),clean-
$i):
39 $(MAKE
) -C
$(subst clean-
,,$@
) clean OPTS
='$(OPTS)'
42 test-charm
: test-charm
++