Loki/test/Makefile

14 lines
386 B
Makefile
Raw Normal View History

SUBTARGETS = Factory Longevity OrderedStatic Pimpl RegressionTest \
SafeFormat ScopeGuard Singleton SmallObj Visitor flex_string
SUBTARGETS_CLEAN = $(foreach SUBTARGET,$(SUBTARGETS),$(SUBTARGET)-clean)
.PHONY: clean all $(SUBTARGETS) $(SUBTARGETS_CLEAN)
all: $(SUBTARGETS)
clean: $(SUBTARGETS_CLEAN)
$(SUBTARGETS):
$(MAKE) -C $@
$(SUBTARGETS_CLEAN):
$(MAKE) -C $(@:-clean=) clean