diff --git a/test/Makefile b/test/Makefile index 492faef..cef4aac 100755 --- a/test/Makefile +++ b/test/Makefile @@ -1,4 +1,4 @@ -SUBTARGETS = Factory flex_string Longevity OrderedStatic RegressionTest \ +SUBTARGETS = Factory flex_string Longevity OrderedStatic RegressionTest \ SafeFormat ScopeGuard Singleton SmallObj Visitor .PHONY: clean all $(SUBTARGETS) @@ -7,14 +7,5 @@ all: $(SUBTARGETS) $(SUBTARGETS): $(MAKE) -C $@ -clean: - $(MAKE) -C Factory clean - $(MAKE) -C flex_string clean - $(MAKE) -C Longevity clean - $(MAKE) -C OrderedStatic clean - $(MAKE) -C RegressionTest clean - $(MAKE) -C SafeFormat clean - $(MAKE) -C ScopeGuard clean - $(MAKE) -C Singleton clean - $(MAKE) -C SmallObj clean - $(MAKE) -C Visitor clean +clean: + for subtarget in $(SUBTARGETS); do $(MAKE) -C $$subtarget clean ; done