diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2016-08-27 18:59:22 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2016-08-27 21:57:49 +0300 |
commit | 03b1d142f2df39a98fd8013f364580c8534d044c (patch) | |
tree | 449ccf359906799846f64bbf3b4a4475fe7b07aa | |
parent | 6b92b6280290d87d1c54555652dbc4d7fb7414d1 (diff) | |
download | qmk_firmware-03b1d142f2df39a98fd8013f364580c8534d044c.tar.gz qmk_firmware-03b1d142f2df39a98fd8013f364580c8534d044c.zip |
Add -p parameter to mkdir
So that it's created even when there's a deeper structure
-rw-r--r-- | tmk_core/rules.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk index 695fe0badf..79fc7119a6 100644 --- a/tmk_core/rules.mk +++ b/tmk_core/rules.mk @@ -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)) |