Commit a9ed8660 authored by aliaspider's avatar aliaspider
Browse files

update Makefile.common

parent 804215a4
...@@ -67,34 +67,35 @@ SOURCES += $(CORE_DIR)/os9x_65c816_global.s ...@@ -67,34 +67,35 @@ SOURCES += $(CORE_DIR)/os9x_65c816_global.s
SOURCES += $(CORE_DIR)/os9x_65c816_spcasm.s SOURCES += $(CORE_DIR)/os9x_65c816_spcasm.s
SOURCES += $(CORE_DIR)/os9x_65c816_spcc.s SOURCES += $(CORE_DIR)/os9x_65c816_spcc.s
SOURCES += $(CORE_DIR)/os9x_65c816.s #SOURCES += $(CORE_DIR)/os9x_65c816.s
SOURCES += $(CORE_DIR)/os9x_asm_cpu.cpp SOURCES += $(CORE_DIR)/os9x_asm_cpu.cpp
#CFLAGS += -D__GP2X__ #DEFINES += -D__GP2X__
#CFLAGS += -DASMCPU #DEFINES += -DASMCPU
#CFLAGS += -DVAR_CYCLES #DEFINES += -DVAR_CYCLES
#CFLAGS += -D_C_GW_ #DEFINES += -D_C_GW_
##COPT = -DUSE_SA1 #DEFINES += -DUSE_SA1
# -DFAST_LSB_WORD_ACCESS # -DFAST_LSB_WORD_ACCESS
#CFLAGS += -ffast-math DEFINES += -ffast-math
#CFLAGS += -msoft-float #DEFINES += -msoft-float
#CFLAGS += -finline -finline-functions -fexpensive-optimizations DEFINES += -finline -finline-functions -fexpensive-optimizations
#CFLAGS += -falign-functions=16 -falign-loops -falign-labels DEFINES += -falign-functions=16 -falign-loops -falign-labels
#CFLAGS += -falign-jumps DEFINES += -falign-jumps
#CFLAGS += -fomit-frame-pointer DEFINES += -fomit-frame-pointer
#CFLAGS += -fstrict-aliasing -mstructure-size-boundary=32 -fweb -fsigned-char -frename-registers DEFINES += -fstrict-aliasing -mstructure-size-boundary=32 -fweb -fsigned-char -frename-registers
#CFLAGS += -ffast-math -funroll-loops -fomit-frame-pointer DEFINES += -ffast-math -funroll-loops -fomit-frame-pointer
INCLUDES = -Ilibretro -Isrc -I. INCLUDES = -Ilibretro -Isrc -I.
DEFINES += -DHAVE_STRINGS_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE=inline -DUSE_SA1 DEFINES += -DHAVE_STRINGS_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE=inline
DEFINES += -DUSE_SA1
ifeq ($(platform), sncps3) ifeq ($(platform), sncps3)
WARNINGS_DEFINES = WARNINGS_DEFINES =
CODE_DEFINES = CODE_DEFINES =
else else
WARNINGS_DEFINES = -Wall -W -Wno-unused-parameter -Wno-parentheses -Wno-write-strings -Wno-comment WARNINGS_DEFINES = -Wall -W -Wno-unused-parameter -Wno-parentheses -Wno-write-strings -Wno-comment -Werror=implicit-function-declaration
CODE_DEFINES = -fomit-frame-pointer CODE_DEFINES = -fomit-frame-pointer
endif endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment