Skip to content

Commit

Permalink
Add -p parameter to mkdir
Browse files Browse the repository at this point in the history
So that it's created even when there's a deeper structure
  • Loading branch information
fredizzimo committed Aug 27, 2016
1 parent 6b92b62 commit 03b1d14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tmk_core/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -364,10 +364,10 @@ show_path:
@echo OBJ=$(OBJ)

# Create build directory
$(shell mkdir $(BUILD_DIR) 2>/dev/null)
$(shell mkdir -p $(BUILD_DIR) 2>/dev/null)

# Create object files directory
$(eval $(foreach OUTPUT,$(OUTPUTS),$(shell mkdir $(OUTPUT) 2>/dev/null)))
$(eval $(foreach OUTPUT,$(OUTPUTS),$(shell mkdir -p $(OUTPUT) 2>/dev/null)))

# Include the dependency files.
-include $(patsubst %.o,%.d,$(OBJ))
Expand Down

0 comments on commit 03b1d14

Please sign in to comment.