aboutsummaryrefslogtreecommitdiff
path: root/sdk-modifications/libsrc/Makefile
diff options
context:
space:
mode:
authorNebuleon Fumika2013-02-04 23:45:44 -0500
committerNebuleon Fumika2013-02-04 23:45:44 -0500
commitd1a7bf5eb558e7db4a1a27e15ebedb02e6b7f804 (patch)
treed951252d393b9d7defb508483aba29e0daad764c /sdk-modifications/libsrc/Makefile
parentb1c298ab5066c2e37a69c7c30bd499dd11ed6eb3 (diff)
downloadsnes9x2005-d1a7bf5eb558e7db4a1a27e15ebedb02e6b7f804.tar.gz
snes9x2005-d1a7bf5eb558e7db4a1a27e15ebedb02e6b7f804.tar.bz2
snes9x2005-d1a7bf5eb558e7db4a1a27e15ebedb02e6b7f804.zip
Fully integrate BassAceGold's libraries, finally. The README still states that 1.2 is required to overwrite 0.13's stuff; really, 0.13 is needed only for `gcc`. So the sequence goes 0.13's `gcc` -> 1.2 -> BassAceGold's libraries -> make `libds2a.a`.
DMA function names changed to match BassAceGold's.
Diffstat (limited to 'sdk-modifications/libsrc/Makefile')
-rw-r--r--sdk-modifications/libsrc/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/sdk-modifications/libsrc/Makefile b/sdk-modifications/libsrc/Makefile
index 6e2b4ab..3d63b76 100644
--- a/sdk-modifications/libsrc/Makefile
+++ b/sdk-modifications/libsrc/Makefile
@@ -13,7 +13,7 @@ CONSOLE_DIR = $(TOPDIR)/console
FS_DIR = $(TOPDIR)/fs
KEY_DIR = $(TOPDIR)/key
ZLIB_DIR = $(TOPDIR)/zlib
-DMA_DIR = $(TOPDIR)/dma
+CORE_DIR = $(TOPDIR)/core
SRC :=
@@ -24,14 +24,17 @@ INCLUDES := -I../include
INC := $(INCLUDES)
CFLAGS := -mips32 -O3 -mno-abicalls -fno-pic -fno-builtin \
- -fno-exceptions -ffunction-sections -mlong-calls\
- -fomit-frame-pointer -msoft-float -G 4
-
+ -fno-exceptions -ffunction-sections -mno-long-calls\
+ -fomit-frame-pointer -msoft-float -G 4 \
+ -fgcse-sm -fgcse-las -fgcse-after-reload \
+ -fweb -fpeel-loops
+
+
include $(CONSOLE_DIR)/console.mk
include $(FS_DIR)/fs.mk
include $(KEY_DIR)/key.mk
include $(ZLIB_DIR)/zlib.mk
-include $(DMA_DIR)/dma.mk
+include $(CORE_DIR)/core.mk
#OBJS := $(addsuffix .o , $(basename $(notdir $(SRC))))
#SOBJS := $(addsuffix .o , $(basename $(notdir $(SSRC))))