Made Makefile concurrent so that it can be compiled with -jN

This commit is contained in:
Olof hagsand 2019-03-21 10:40:00 +01:00
parent 0bf838eb8c
commit 434f0b930e
8 changed files with 44 additions and 32 deletions

View file

@ -58,7 +58,7 @@ SUBDIRS = lib apps include etc datastore yang
all: $(SUBDIRS)
$(SUBDIRS):
$(SUBDIRS): include lib # Cannot build app before lib (for parallel make -j)
(cd $@ && $(MAKE) $(MFLAGS) all)
depend: