Updated Makefile to support recursive MKDIR operations in Windows

This commit is contained in:
Jonathan Moallem 2021-03-31 20:49:54 +11:00 committed by GitHub
parent 462fd1c302
commit f8137f253e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ ifeq ($(OS), Windows_NT)
libGenDir := src
THEN := &&
PATHSEP := \$(BLANK)
MKDIR := -mkdir
MKDIR := -mkdir -p
RM := -del /q
COPY = -robocopy "$(call platformpth,$1)" "$(call platformpth,$2)" $3
else
@ -93,4 +93,4 @@ execute:
# Clean up all relevant files
clean:
$(RM) $(call platformpth, $(buildDir)/*)
$(RM) $(call platformpth, $(buildDir)/*)