diff options
author | twinaphex | 2018-12-27 23:20:45 +0100 |
---|---|---|
committer | twinaphex | 2018-12-27 23:20:45 +0100 |
commit | 6d4cad819e168ace7a51abf88f21578dfc599d37 (patch) | |
tree | da406ae97c6c9704fc382d16c597abf4a5197b1d /Makefile | |
parent | 4fd103734b789f5b68df0ca7ebed3d36aba59477 (diff) | |
download | snes9x2005-6d4cad819e168ace7a51abf88f21578dfc599d37.tar.gz snes9x2005-6d4cad819e168ace7a51abf88f21578dfc599d37.tar.bz2 snes9x2005-6d4cad819e168ace7a51abf88f21578dfc599d37.zip |
Add MSVC2008 target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -285,6 +285,27 @@ PSS_STYLE :=2 LDFLAGS += -DLL OLD_GCC = 1 +# Windows MSVC 2008 x86 +else ifeq ($(platform), windows_msvc2008_x86) + CC = cl.exe + CXX = cl.exe + +PATH := $(shell IFS=$$'\n'; cygpath "$(VS90COMNTOOLS)../../VC/bin"):$(PATH) +PATH := $(PATH):$(shell IFS=$$'\n'; cygpath "$(VS90COMNTOOLS)../IDE") +INCLUDE := $(shell IFS=$$'\n'; cygpath "$(VS90COMNTOOLS)../../VC/include") +LIB := $(shell IFS=$$'\n'; cygpath -w "$(VS90COMNTOOLS)../../VC/lib") +BIN := $(shell IFS=$$'\n'; cygpath "$(VS90COMNTOOLS)../../VC/bin") + +WindowsSdkDir := $(INETSDK) + +export INCLUDE := $(INCLUDE);$(INETSDK)/Include;libretro-common/include/compat/msvc +export LIB := $(LIB);$(WindowsSdkDir);$(INETSDK)/Lib +TARGET := $(TARGET_NAME)_libretro.dll +PSS_STYLE :=2 +LDFLAGS += -DLL +CFLAGS += -D_CRT_SECURE_NO_DEPRECATE +NO_GCC = 1 + # Windows MSVC 2005 x86 else ifeq ($(platform), windows_msvc2005_x86) CC = cl.exe |