aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDevendra2013-07-12 10:14:21 +0530
committerDevendra2013-07-12 10:14:21 +0530
commit6616acbec40ac039b7bdabf7e8b3581e68c0b2cb (patch)
tree3768b67e046aef37790c12f774838e539ac25a80 /Makefile
parent523802043bf1ce3616d3bac382f166e34984d5bf (diff)
downloadpubnub-python-6616acbec40ac039b7bdabf7e8b3581e68c0b2cb.tar.bz2
adding common test from tornado and twisted
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 9 insertions, 15 deletions
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 :;