diff options
author | twinaphex | 2017-12-25 06:37:52 +0100 |
---|---|---|
committer | twinaphex | 2017-12-25 06:37:52 +0100 |
commit | 844bddc4f2203fbbf56834c27de24a54cb3674a3 (patch) | |
tree | 653edb05bba1552b9fea361a9228c3f5145dad32 /Makefile | |
parent | 00fd30fcf789ea5d0eb55092c56d123d3a475aeb (diff) | |
download | snes9x2005-844bddc4f2203fbbf56834c27de24a54cb3674a3.tar.gz snes9x2005-844bddc4f2203fbbf56834c27de24a54cb3674a3.tar.bz2 snes9x2005-844bddc4f2203fbbf56834c27de24a54cb3674a3.zip |
Cleanups
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -230,6 +230,28 @@ TARGET := $(TARGET_NAME)_libretro.dll PSS_STYLE :=2 LDFLAGS += -DLL OLD_GCC = 1 + +# Windows MSVC 2003 x86 +else ifeq ($(platform), windows_msvc2003_x86) + CC = cl.exe + CXX = cl.exe + +PATH := $(shell IFS=$$'\n'; cygpath "$(VS71COMNTOOLS)../../Vc7/bin"):$(PATH) +PATH := $(PATH):$(shell IFS=$$'\n'; cygpath "$(VS71COMNTOOLS)../IDE") +INCLUDE := $(shell IFS=$$'\n'; cygpath "$(VS71COMNTOOLS)../../Vc7/include") +LIB := $(shell IFS=$$'\n'; cygpath -w "$(VS71COMNTOOLS)../../Vc7/lib") +BIN := $(shell IFS=$$'\n'; cygpath "$(VS71COMNTOOLS)../../Vc7/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 + else TARGET := $(TARGET_NAME)_libretro.dll CC = gcc |