fix parallel build of btt and blkiomon
[blktrace.git] / Makefile
index 5917814d03440ef2abbb9a144312444cbbda932b..eb3c6a1a67d8a4cd0a5c63ab8ca4c92e454fe414 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ all: $(ALL) $(SUBDIRS)
 
 # We always descend into subdirs because they contain their own dependency
 # information which we don't track in this top level Makefile.
-$(SUBDIRS):
+$(SUBDIRS): $(PROGS)
        $(MAKE) -C $@
 .PHONY: $(SUBDIRS)