Add -p parameter to mkdir
So that it's created even when there's a deeper structure
This commit is contained in:
parent
6b92b62802
commit
03b1d142f2
1 changed files with 2 additions and 2 deletions
|
@ -364,10 +364,10 @@ show_path:
|
||||||
@echo OBJ=$(OBJ)
|
@echo OBJ=$(OBJ)
|
||||||
|
|
||||||
# Create build directory
|
# Create build directory
|
||||||
$(shell mkdir $(BUILD_DIR) 2>/dev/null)
|
$(shell mkdir -p $(BUILD_DIR) 2>/dev/null)
|
||||||
|
|
||||||
# Create object files directory
|
# 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 the dependency files.
|
||||||
-include $(patsubst %.o,%.d,$(OBJ))
|
-include $(patsubst %.o,%.d,$(OBJ))
|
||||||
|
|
Loading…
Reference in a new issue