diff options
author | twinaphex | 2019-01-04 18:28:03 +0100 |
---|---|---|
committer | twinaphex | 2019-01-04 18:28:03 +0100 |
commit | c9b3980caaf1ab3a20c5e002e48c365347f522db (patch) | |
tree | dd8544013b5c37873ca0dbfce83009c472ad3f68 /Makefile | |
parent | 0921ac9055acf61e940152793013903d54036fea (diff) | |
download | snesemu-c9b3980caaf1ab3a20c5e002e48c365347f522db.tar.gz snesemu-c9b3980caaf1ab3a20c5e002e48c365347f522db.tar.bz2 snesemu-c9b3980caaf1ab3a20c5e002e48c365347f522db.zip |
VC2017 buildfix
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -4,6 +4,15 @@ LOAD_FROM_MEMORY_TEST = 1 USE_BLARGG_APU = 0 LAGFIX = 1 +SPACE := +SPACE := $(SPACE) $(SPACE) +BACKSLASH := +BACKSLASH := \$(BACKSLASH) +filter_out1 = $(filter-out $(firstword $1),$1) +filter_out2 = $(call filter_out1,$(call filter_out1,$1)) +unixpath = $(subst \,/,$1) +unixcygpath = /$(subst :,,$(call unixpath,$1)) + ifeq ($(platform),) ifeq (,$(findstring classic_,$(platform))) platform = unix @@ -435,7 +444,7 @@ else ifneq (,$(findstring windows_msvc2017,$(platform))) INCLUDE := $(shell IFS=$$'\n'; cygpath -w "$(VcCompilerToolsDir)/include") LIB := $(shell IFS=$$'\n'; cygpath -w "$(VcCompilerToolsDir)/lib/$(TargetArchMoniker)") ifneq (,$(findstring uwp,$(PlatformSuffix))) - LIB := $(shell IFS=$$'\n'; cygpath -w "$(LIB)/store") + LIB := $(LIB);$(shell IFS=$$'\n'; cygpath -w "$(LIB)/store") endif export INCLUDE := $(INCLUDE);$(WindowsSDKSharedIncludeDir);$(WindowsSDKUCRTIncludeDir);$(WindowsSDKUMIncludeDir) |