diff --git a/Makefile b/Makefile index 5e4bbb4090..1100e9a6ae 100644 --- a/Makefile +++ b/Makefile @@ -2,10 +2,10 @@ DIRS = $(RIOTCPU) core drivers sys all: mkdir -p $(BINDIR) - @for i in $(DIRS) ; do $(MAKE) -C $$i ; done ; + @for i in $(DIRS) ; do "$(MAKE)" -C $$i ; done ; clean: - @for i in $(DIRS) ; do $(MAKE) -C $$i clean ; done ; + @for i in $(DIRS) ; do "$(MAKE)" -C $$i clean ; done ; -@if [ -d $(BINDIR) ] ; \ then rmdir $(BINDIR) ; \ fi