commit | 1b1538deb49d17c55fa2ffa61c591220f7508668 | [log] [tgz] |
---|---|---|
author | Trammell Hudson <hudson@trmm.net> | Tue Jul 17 07:37:12 2018 -0400 |
committer | Trammell Hudson <hudson@trmm.net> | Tue Jul 17 07:40:28 2018 -0400 |
tree | df26a5b2f0202abdb07f950411e25708a0969a8d | |
parent | 5aeb5c9b4d164b39444152105b2b50a4bf10985b [diff] |
Allow parallel make all to build each subdir simultaneously
diff --git a/Makefile b/Makefile index 518e08c..5a95087 100644 --- a/Makefile +++ b/Makefile
@@ -2,7 +2,11 @@ include config.mk -all clean install uninstall: +all: $(addsuffix .all,$(SUBDIRS)) +$(addsuffix .all,$(SUBDIRS)): + $(MAKE) -C $(basename $@) all + +clean install uninstall: for dir in $(SUBDIRS); do \ $(MAKE) -C $$dir $@ || exit; \ done