mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +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.
21 lines
390 B
Makefile
21 lines
390 B
Makefile
MODULE =cc110x_ng
|
|
|
|
DIRS =
|
|
ifneq (,$(filter msb-430h,$(BOARD)))
|
|
DIRS += spi
|
|
endif
|
|
ifneq (,$(filter msba2,$(BOARD)))
|
|
DIRS += spi
|
|
endif
|
|
ifneq (,$(filter wsn430-v1_3b,$(BOARD)))
|
|
DIRS += spi
|
|
endif
|
|
|
|
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 ;
|