mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
29 lines
541 B
Makefile
29 lines
541 B
Makefile
DIRS = $(RIOTCPU)/$(CPU) core drivers sys
|
|
|
|
ifneq (,$(filter embunit,$(USEMODULE)))
|
|
DIRS += tests/unittests/embunit/embUnit
|
|
endif
|
|
|
|
ifneq (,$(filter embunit_textui,$(USEMODULE)))
|
|
DIRS += tests/unittests/embunit/textui
|
|
endif
|
|
|
|
|
|
.PHONY: all clean doc
|
|
|
|
all:
|
|
mkdir -p $(BINDIR)
|
|
@for i in $(DIRS) ; do "$(MAKE)" -C $$i || exit 1; done ;
|
|
|
|
clean:
|
|
@for i in $(DIRS) ; do "$(MAKE)" -C $$i clean || exit 1; done ;
|
|
-@if [ -d $(BINDIR) ] ; \
|
|
then rm -rf $(BINDIR) ; \
|
|
fi
|
|
|
|
doc:
|
|
"$(MAKE)" -BC doc/doxygen
|
|
|
|
docclean:
|
|
"$(MAKE)" -BC doc/doxygen clean
|