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
SOURCES += $(CORE_DIR)/os9x_65c816_spcasm.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
#CFLAGS += -D__GP2X__
#CFLAGS += -DASMCPU
#CFLAGS += -DVAR_CYCLES
#CFLAGS += -D_C_GW_
##COPT = -DUSE_SA1
#DEFINES += -D__GP2X__
#DEFINES += -DASMCPU
#DEFINES += -DVAR_CYCLES
#DEFINES += -D_C_GW_
#DEFINES += -DUSE_SA1
# -DFAST_LSB_WORD_ACCESS
#CFLAGS += -ffast-math
#CFLAGS += -msoft-float
#CFLAGS += -finline -finline-functions -fexpensive-optimizations
#CFLAGS += -falign-functions=16 -falign-loops -falign-labels
#CFLAGS += -falign-jumps
#CFLAGS += -fomit-frame-pointer
#CFLAGS += -fstrict-aliasing -mstructure-size-boundary=32 -fweb -fsigned-char -frename-registers
DEFINES += -ffast-math
#DEFINES += -msoft-float
DEFINES += -finline -finline-functions -fexpensive-optimizations
DEFINES += -falign-functions=16 -falign-loops -falign-labels
DEFINES += -falign-jumps
DEFINES += -fomit-frame-pointer
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.
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)
WARNINGS_DEFINES =
CODE_DEFINES =
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
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