Fix multithreaded make with MSVC2017

This commit is contained in:
krzys-h 2019-01-05 20:54:32 +01:00
parent 4e77ca2865
commit 89b6bbbf93

View File

@ -445,7 +445,8 @@ else ifneq (,$(findstring windows_msvc2017,$(platform)))
export INCLUDE := $(INCLUDE);$(WindowsSDKSharedIncludeDir);$(WindowsSDKUCRTIncludeDir);$(WindowsSDKUMIncludeDir) export INCLUDE := $(INCLUDE);$(WindowsSDKSharedIncludeDir);$(WindowsSDKUCRTIncludeDir);$(WindowsSDKUMIncludeDir)
export LIB := $(LIB);$(WindowsSDKUCRTLibDir);$(WindowsSDKUMLibDir) export LIB := $(LIB);$(WindowsSDKUCRTLibDir);$(WindowsSDKUMLibDir)
TARGET := $(TARGET_NAME)_libretro.dll $(TARGET_NAME)_libretro.lib $(TARGET_NAME)_libretro.pdb $(TARGET_NAME)_libretro.exp TARGET := $(TARGET_NAME)_libretro.dll
TARGET_TMP := $(TARGET_NAME)_libretro.lib $(TARGET_NAME)_libretro.pdb $(TARGET_NAME)_libretro.exp
PSS_STYLE :=2 PSS_STYLE :=2
LDFLAGS += -DLL LDFLAGS += -DLL
@ -619,6 +620,6 @@ clean:
@echo rm -f *.o @echo rm -f *.o
@rm -f $(DEPS) @rm -f $(DEPS)
@echo rm -f *.d @echo rm -f *.d
rm -f $(TARGET) rm -f $(TARGET) $(TARGET_TMP)
.PHONY: clean .PHONY: clean