Skip to content

Commit

Permalink
Makefile.include: add a rule to create directories
Browse files Browse the repository at this point in the history
Prepare for using it for `build` directory.
It could also be used for `bin`.
  • Loading branch information
cladmi committed Nov 22, 2018
1 parent 9933e2a commit b259b76
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,10 @@ include $(RIOTMAKE)/mcuboot.mk
# include Murdock helpers
include $(RIOTMAKE)/murdock.inc.mk

# Create directories
%/:
mkdir -p $@

# Sanity check, 'all' should be the default goal
ifneq (all, $(.DEFAULT_GOAL))
$(error .DEFAULT_GOAL := $(.DEFAULT_GOAL))
Expand Down

0 comments on commit b259b76

Please sign in to comment.