Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ clean:
# Include the dependency files, should be the last of the makefile
#
ifeq ($(OS),Windows_NT)
$(shell cmd /C if not exist "$(DEPPATH)" mkdir "$(DEPPATH)")
$(shell powershell -noprofile -command "New-Item -Force -ItemType Directory $(DEPPATH) | Out-Null")
else
$(shell mkdir $(DEPPATH) 2>/dev/null)
endif
Expand Down
5 changes: 5 additions & 0 deletions make/windows.mk
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,10 @@ export PYTHON
# Configure shell commands
############################

# Set the shell to be cmd.exe
SHELL = cmd
# Override the SEHLL variable for any sub-make calls
MAKEOVERRIDES += SHELL=cmd

RM := del
MKDIR := powershell -noprofile -command New-Item -Force -itemtype "directory"