diff --git a/Makefile b/Makefile index 27df73ed17a6..d6744bed3cf1 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ DIRS = $(RIOTCPU) core drivers sys +.PHONY: all clean doc + all: mkdir -p $(BINDIR) @for i in $(DIRS) ; do "$(MAKE)" -C $$i ; done ; diff --git a/Makefile.base b/Makefile.base index a05d65d1c2e9..10b321c7de52 100644 --- a/Makefile.base +++ b/Makefile.base @@ -7,6 +7,8 @@ SRC = $(wildcard *.c) OBJ = $(SRC:%.c=$(BINDIR)%.o) DEP = $(SRC:%.c=$(BINDIR)%.d) +.PHONY: clean + include $(RIOTCPU)/Makefile.base include $(RIOTBOARD)/Makefile.base diff --git a/Makefile.include b/Makefile.include index 5186db8ecf20..011aae49724d 100644 --- a/Makefile.include +++ b/Makefile.include @@ -40,6 +40,8 @@ endif endif endif +.PHONY: all clean flash doc term + ## make script for your project. Build RIOT-base here! all: $(PROJBINDIR)/$(PROJECT).a @echo "Building project $(PROJECT) for $(BOARD) w/ MCU $(MCU)."