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

Define phony make targets

This commit is contained in:
authmillenon 2013-08-08 15:44:44 +02:00
parent 0490eda6b5
commit 4f363ce0fe
3 changed files with 6 additions and 0 deletions

View File

@ -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 ;

View File

@ -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

View File

@ -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)."