BTW, the unparallelized case can be optimized by only recursing first if Make 
was passed a `-j` option:
```diff
diff --git a/Makefile.am b/Makefile.am
index 8cf1634..9023c10 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -176,3 +176,12 @@ EXTRA_DIST = \
        wscript \
        README.waf \
        README.windows
+
+
+all-recursive: $(SUBDIRS)
+.PHONY: $(SUBDIRS)
+
+$(SUBDIRS):
+       @if (target_option=j; $(am__make_running_with_option)); then \
+               $(am__cd) $@ && $(MAKE) $(AM_MAKEFLAGS) all; \
+       fi
```

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/277#issuecomment-161038082

Reply via email to