Skip to content
Snippets Groups Projects
Commit da7e0988 authored by Christian Mehlis's avatar Christian Mehlis
Browse files

Merge pull request #102 from authmillenon/master

Define phony make targets
parents 9b68030b 4f363ce0
No related branches found
No related tags found
No related merge requests found
DIRS = $(RIOTCPU) core drivers sys
.PHONY: all clean doc
all:
mkdir -p $(BINDIR)
@for i in $(DIRS) ; do "$(MAKE)" -C $$i ; done ;
......
......@@ -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
......
......@@ -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)."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment