mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
Add `|| exit 1` to all constructs like `@for i in $(DIRS) ; do "$(MAKE)" -C $$i ; done ;`, so that compilation stops on the first error.
12 lines
225 B
Makefile
12 lines
225 B
Makefile
MODULE =msp430_common
|
|
|
|
DIRS =
|
|
|
|
all: $(BINDIR)$(MODULE).a
|
|
@for i in $(DIRS) ; do "$(MAKE)" -C $$i || exit 1; done ;
|
|
|
|
include $(RIOTBASE)/Makefile.base
|
|
|
|
clean::
|
|
@for i in $(DIRS) ; do "$(MAKE)" -C $$i clean || exit 1; done ;
|