diff --git a/Makefile b/Makefile index 27df73ed17a6433123358027e8c2339e6a369feb..d6744bed3cf102427d59c45c2ce136309074db69 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 a05d65d1c2e92fe4679a329f94090fadfb40cec1..10b321c7de52fc1e59a6fa54f77824a3d46740c0 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 5186db8ecf20e45fa8fcdb09ef9c63be09f16e0f..011aae49724dc47a766a0d6309b6b5a8c7bddcee 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)."