1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/Makefile

29 lines
541 B
Makefile
Raw Normal View History

DIRS = $(RIOTCPU)/$(CPU) core drivers sys
2014-03-31 13:59:02 +02:00
ifneq (,$(filter embunit,$(USEMODULE)))
DIRS += tests/unittests/embunit/embUnit
endif
ifneq (,$(filter embunit_textui,$(USEMODULE)))
DIRS += tests/unittests/embunit/textui
endif
2013-08-08 15:44:44 +02:00
.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
2013-08-12 11:08:19 +02:00
docclean:
"$(MAKE)" -BC doc/doxygen clean