Make it easier to add a new test subtarget

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@451 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
lfittl 2006-01-08 23:29:44 +00:00
parent b3c54696f8
commit 3f7449d7bc

View file

@ -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