summaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authoraliaspider2015-11-08 18:47:43 +0100
committeraliaspider2015-11-08 18:54:07 +0100
commita9ed8660a5aa71e06f0c15eb2ee346af1879fc97 (patch)
treed84427c00b2094a2fda4fa1714d1fabaed03229b /Makefile.common
parent804215a4c07fe76208a562e58d56b874968f828d (diff)
downloadsnes9x2002-a9ed8660a5aa71e06f0c15eb2ee346af1879fc97.tar.gz
snes9x2002-a9ed8660a5aa71e06f0c15eb2ee346af1879fc97.tar.bz2
snes9x2002-a9ed8660a5aa71e06f0c15eb2ee346af1879fc97.zip
update Makefile.common
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common33
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