Start work on malloc.c

This commit is contained in:
gamemasterplc 2023-11-21 20:53:03 -06:00
parent 0b4ae7caba
commit 237bf72a2c
6 changed files with 121 additions and 28 deletions

View file

@ -177,6 +177,12 @@ cflags_rel = [
"-sdata2 0",
]
# Game flags
cflags_game = [
*cflags_base,
"-O0,p",
]
config.linker_version = "GC/2.6"
config.rel_strip_partial = False
config.rel_empty_file = "REL/empty.c"
@ -210,6 +216,15 @@ NonMatching = False
config.warn_missing_config = True
config.warn_missing_source = False
config.libs = [
{
"lib": "Game",
"mw_version": config.linker_version,
"cflags": cflags_game,
"host": False,
"objects": [
Object(NonMatching, "game/malloc.c"),
],
},
{
"lib": "Runtime.PPCEABI.H",
"mw_version": config.linker_version,