2013-12-22 20:02:59 +01:00
|
|
|
DIRS = $(RIOTCPU)/$(CPU) core drivers sys
|
2013-02-06 13:20:21 +01:00
|
|
|
|
2013-08-08 15:44:44 +02:00
|
|
|
.PHONY: all clean doc
|
|
|
|
|
2013-02-06 13:20:21 +01:00
|
|
|
all:
|
2013-02-11 22:10:03 +01:00
|
|
|
mkdir -p $(BINDIR)
|
2014-03-12 11:03:34 +01:00
|
|
|
@for i in $(DIRS) ; do "$(MAKE)" -C $$i || exit 1; done ;
|
2014-02-11 18:15:43 +01:00
|
|
|
|
2013-02-06 13:20:21 +01:00
|
|
|
clean:
|
2014-03-12 11:03:34 +01:00
|
|
|
@for i in $(DIRS) ; do "$(MAKE)" -C $$i clean || exit 1; done ;
|
2013-03-27 16:10:28 +01:00
|
|
|
-@if [ -d $(BINDIR) ] ; \
|
2013-05-24 15:13:31 +02:00
|
|
|
then rm -rf $(BINDIR) ; \
|
2014-02-11 18:15:43 +01:00
|
|
|
fi
|
2013-02-06 13:20:21 +01:00
|
|
|
|
2013-02-08 19:34:07 +01:00
|
|
|
doc:
|
2014-01-21 14:52:55 +01:00
|
|
|
"$(MAKE)" -BC doc/doxygen
|
2013-08-12 11:08:19 +02:00
|
|
|
|
2014-01-21 14:52:55 +01:00
|
|
|
docclean:
|
|
|
|
"$(MAKE)" -BC doc/doxygen clean
|