From 6616acbec40ac039b7bdabf7e8b3581e68c0b2cb Mon Sep 17 00:00:00 2001 From: Devendra Date: Fri, 12 Jul 2013 10:14:21 +0530 Subject: adding common test from tornado and twisted --- Makefile | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index dbe0d95..5a6fc63 100644 --- a/Makefile +++ b/Makefile @@ -1,19 +1,13 @@ SUBDIRS = common python python-twisted python-tornado -.PHONY: all -all: - for dir in $(SUBDIRS); do \ - $(MAKE) -C $$dir; \ - done +.PHONY: all test +all test: $(SUBDIRS) -.PHONY: clean -clean: - for dir in $(SUBDIRS); do \ - $(MAKE) clean -C $$dir; \ - done +all: TARG=all +test: TARG=test -.PHONY: test -test: - for dir in $(SUBDIRS); do \ - $(MAKE) test -C $$dir; \ - done +$(SUBDIRS): force + @ $(MAKE) -C $@ $(TARG) + +.PHONY: force +force :; -- cgit v1.2.3