Merge pull request #1026 from heuripedes/master

More Windows fixes
This commit is contained in:
Twinaphex 2014-09-16 03:17:08 +02:00
commit 8071be73d9
3 changed files with 10 additions and 2 deletions

View File

@ -16,6 +16,10 @@ LIBS :=
DEFINES := -DHAVE_CONFIG_H -DRARCH_INTERNAL -DHAVE_CC_RESAMPLER -DHAVE_OVERLAY
DEFINES += -DGLOBAL_CONFIG_DIR='"$(GLOBAL_CONFIG_DIR)"'
ifneq ($(findstring Win32,$(OS)),)
LDFLAGS += -static-libgcc
endif
include Makefile.common
HEADERS = $(wildcard */*/*.h) $(wildcard */*.h) $(wildcard *.h)

View File

@ -306,7 +306,7 @@ ifeq ($(HAVE_DINPUT), 1)
endif
ifeq ($(HAVE_WINXINPUT), 1)
DEFINES += -DHAVE_WINXINPUT
DEFINES += -DHAVE_WINXINPUT -DHAVE_BUILTIN_AUTOCONFIG
OBJ += input/winxinput_joypad.o \
input/autoconf/builtin_win.o
JOYCONFIG_OBJ += input/winxinput_joypad.o
@ -413,6 +413,10 @@ ifeq ($(HAVE_OPENGL), 1)
DEFINES += -DHAVE_GLSL
endif
ifeq ($(HAVE_SDL2), 1)
HAVE_SDL=0
endif
ifeq ($(HAVE_SDL), 1)
OBJ += gfx/sdl_gfx.o input/sdl_input.o input/sdl_joypad.o audio/sdl_audio.o

View File

@ -64,7 +64,7 @@ OBJ :=
JOYCONFIG_OBJ :=
LIBS := -lm
JOYCONFIG_LIBS :=
DEFINES := -I. -DHAVE_BUILTIN_AUTOCONFIG -DRARCH_INTERNAL -DHAVE_CC_RESAMPLER -DHAVE_OVERLAY
DEFINES := -I. -DRARCH_INTERNAL -DHAVE_CC_RESAMPLER -DHAVE_OVERLAY
LDFLAGS := -L. -static-libgcc
include Makefile.common