mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
9b61d95545
Add `|| exit 1` to all constructs like `@for i in $(DIRS) ; do "$(MAKE)" -C $$i ; done ;`, so that compilation stops on the first error.
14 lines
285 B
Makefile
14 lines
285 B
Makefile
MODULE =cpu
|
|
|
|
include $(RIOTCPU)/$(CPU)/Makefile.include
|
|
|
|
DIRS = $(RIOTCPU)/msp430-common/
|
|
|
|
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 ;
|