Commit 7b6ab474 authored by Adam Wujek's avatar Adam Wujek 💬

Makefile: remove loop

This allows parallel build.
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent bc5d6d49
DIRS = kernel tools DIRS = kernel tools
all modules install modules_install: .PHONY: all clean modules install modules_install $(DIRS) sdb-lib
for d in $(DIRS); do $(MAKE) -C $$d $@ || exit 1; done
all clean modules install modules_install: $(DIRS)
# additionally clean sdb-lib
clean: sdb-lib
clean: TARGET = clean
modules: TARGET = modules
install: TARGET = install
modules_install: TARGET = modules_install
clean: $(DIRS) sdb-lib:
for d in $(DIRS) sdb-lib; do $(MAKE) -C $$d $@ || exit 1; done $(MAKE) -C $@ $(TARGET)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment