Add -p parameter to mkdir

So that it's created even when there's a deeper structure
daktil_thumb_popravljen
Fred Sundvik 2016-08-27 18:59:22 +03:00
parent 6b92b62802
commit 03b1d142f2
1 changed files with 2 additions and 2 deletions

View File

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