build: abort recursive make on downstream error
This commit is contained in:
parent
a7f66a5a3c
commit
45bc1c1481
4
Makefile
4
Makefile
|
@ -5,8 +5,8 @@ include config.mk
|
|||
TARGETS := include lib tests utils commands
|
||||
|
||||
$(MAIN_GOALS):
|
||||
@for target in $(TARGETS); do \
|
||||
$(MAKE) -C $$target O=$(O_DIR)/$$target V=$(V) $@; \
|
||||
@for target in $(TARGETS); do \
|
||||
$(MAKE) -C $$target O=$(O_DIR)/$$target V=$(V) $@ || exit 1; \
|
||||
done
|
||||
|
||||
lib: include
|
||||
|
|
Loading…
Reference in New Issue