summaryrefslogtreecommitdiff
path: root/cpp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/Makefile')
-rw-r--r--cpp/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/cpp/Makefile b/cpp/Makefile
index 28f2212a7a..529ac1568f 100644
--- a/cpp/Makefile
+++ b/cpp/Makefile
@@ -21,6 +21,7 @@
#
UNITTESTS=$(wildcard common/*/test/*.so broker/test/*.so)
+SUBDIRS=common broker qpidd client
.PHONY: all test unittest pythontest runtests clean doxygen
@@ -37,14 +38,10 @@ runtests:
$(MAKE) -k unittest pythontest
all:
- @$(MAKE) -C common all
- @$(MAKE) -C broker all
- @$(MAKE) -C client all
+ @for DIR in $(SUBDIRS) ; do $(MAKE) -C $$DIR all ; done
clean:
- @$(MAKE) -C common clean
- @$(MAKE) -C broker clean
- @$(MAKE) -C client clean
+ @for DIR in $(SUBDIRS) ; do $(MAKE) -C $$DIR clean ; done
@$(MAKE) -C doxygen clean
-@rm qpidd.log