This commit is contained in:
twinaphex 2017-07-01 02:15:22 +02:00
parent 3211228ae9
commit 9dc64f2948
5 changed files with 9 additions and 9 deletions

View File

@ -63,10 +63,6 @@ else
endif
endif
ifeq ($(LAGFIX),1)
CFLAGS += -DLAGFIX
endif
# system platform
system_platform = unix
ifeq ($(shell uname -a),)
@ -381,12 +377,11 @@ else
CFLAGS += -O3 -DNDEBUG -DGIT_VERSION=\"$(GIT_VERSION)\"
endif
include $(BUILD_DIR)/Makefile.common
OBJECTS := $(SOURCES_C:.c=.o)
DEFINES = -DHAVE_STRINGS_H -DHAVE_INTTYPES_H -D__LIBRETRO__ -DRIGHTSHIFT_IS_SAR -DINLINE=inline
DEFINES = $(COREDEFINES)
ifeq ($(STATIC_LINKING),1)
DEFINES += -DSTATIC_LINKING

View File

@ -1,4 +1,9 @@
INCFLAGS := -I$(CORE_DIR)/libretro -I$(CORE_DIR)/src
COREDEFINES = -DHAVE_STRINGS_H -DHAVE_INTTYPES_H -D__LIBRETRO__ -DRIGHTSHIFT_IS_SAR -DINLINE=inline
ifeq ($(LAGFIX),1)
COREDEFINES += -DLAGFIX
endif
ifeq ($(HAVE_GRIFFIN), 1)
SOURCES_C := $(CORE_DIR)/src/snes9x_griffin.c $(CORE_DIR)/src/sa1.c

View File

@ -55,7 +55,7 @@ SOEXT = .dll
STATIC_LINKING = 0
platform = win
PLATDEFS =
PLATCFLAGS = -DWIN32 -DCORRECT_VRAM_READS -D_WINDOWS -DINLINE=_inline -D_USRDLL -DRIGHTSHIFT_IS_SAR -DCORRECT_VRAM_READS -D_CRT_SECURE_NO_WARNINGS -DMSVC2010_EXPORTS -DFRONTEND_SUPPORTS_RGB565 -DGIT_VERSION=\"$(GIT_VERSION)\"
PLATCFLAGS = -DWIN32 -DCORRECT_VRAM_READS -D_WINDOWS -D_USRDLL -D_CRT_SECURE_NO_WARNINGS -DMSVC2010_EXPORTS -DFRONTEND_SUPPORTS_RGB565 -DGIT_VERSION=\"$(GIT_VERSION)\"
PLATCXXFLAGS = $(PLATCFLAGS)
#PLATLDFLAGS = -shared -lm
#PLATLDXFLAGS = -shared -lm

View File

@ -55,7 +55,7 @@ SOEXT = .dll
STATIC_LINKING = 0
platform = win
PLATDEFS =
PLATCFLAGS = -DWIN32 -DCORRECT_VRAM_READS -D_WINDOWS -DINLINE=_inline -D_USRDLL -DRIGHTSHIFT_IS_SAR -DCORRECT_VRAM_READS -D_CRT_SECURE_NO_WARNINGS -DMSVC2010_EXPORTS -DFRONTEND_SUPPORTS_RGB565 -DGIT_VERSION=\"$(GIT_VERSION)\"
PLATCFLAGS = -DWIN32 -DCORRECT_VRAM_READS -D_WINDOWS -D_USRDLL -D_CRT_SECURE_NO_WARNINGS -DMSVC2010_EXPORTS -DFRONTEND_SUPPORTS_RGB565 -DGIT_VERSION=\"$(GIT_VERSION)\"
PLATCXXFLAGS = $(PLATCFLAGS)
#PLATLDFLAGS = -shared -lm
#PLATLDXFLAGS = -shared -lm

View File

@ -63,7 +63,7 @@ SOEXT = .dll
STATIC_LINKING = 0
platform = win
PLATDEFS =
PLATCFLAGS = -DWIN32 -DCORRECT_VRAM_READS -D_WINDOWS -DINLINE=_inline -D_USRDLL -DRIGHTSHIFT_IS_SAR -DCORRECT_VRAM_READS -D_CRT_SECURE_NO_WARNINGS -DMSVC2010_EXPORTS -DFRONTEND_SUPPORTS_RGB565 -DGIT_VERSION=\"$(GIT_VERSION)\"
PLATCFLAGS = -DWIN32 -DCORRECT_VRAM_READS -D_WINDOWS -D_USRDLL -D_CRT_SECURE_NO_WARNINGS -DMSVC2010_EXPORTS -DFRONTEND_SUPPORTS_RGB565 -DGIT_VERSION=\"$(GIT_VERSION)\"
PLATCXXFLAGS = $(PLATCFLAGS)
#PLATLDFLAGS = -shared -lm
#PLATLDXFLAGS = -shared -lm