diff options
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/Makefile.common b/Makefile.common index 39be4bf..2630e9e 100644 --- a/Makefile.common +++ b/Makefile.common @@ -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 |