mirror of https://github.com/rusefi/bldc.git
[ChibiOS][Windows] Use Windows-specific mkdir command
This resolves a last problem for building on Windows.
This commit is contained in:
parent
37068c70a9
commit
ed807c0ae7
|
@ -312,6 +312,13 @@ clean:
|
|||
#
|
||||
# Include the dependency files, should be the last of the makefile
|
||||
#
|
||||
-include $(shell mkdir .dep 2>/dev/null) $(wildcard .dep/*)
|
||||
ifeq ($(OS),Windows_NT)
|
||||
$(shell if not exist ".dep" mkdir .dep )
|
||||
else
|
||||
$(shell mkdir .dep 2>/dev/null)
|
||||
endif
|
||||
|
||||
-include $(wildcard .dep/*)
|
||||
|
||||
|
||||
# *** EOF ***
|
||||
|
|
Loading…
Reference in New Issue