powermac-rom/MakeFile

67 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2017-11-19 04:11:07 +00:00
ResultDir = :BuildResults:
LinkerDir = :Linker:
MainTarget <09> {ResultDir}PowerROM
{LinkerDir}LinkPowerROM.tool <09> {LinkerDir}LinkPowerROM.c
SC -o "{TempFolder}LinkPowerROM.o" {Deps}
ILink -d -t MPST -c 'MPS ' -o {Targ} "{Libraries}Stubs.o" "{CLibraries}StdCLib.o" "{Libraries}MacRuntime.o" "{Libraries}IntEnv.o" "{Libraries}Interface.o" "{TempFolder}LinkPowerROM.o"
2017-11-19 04:11:07 +00:00
RomBin = :RomMondo.bin
ExceptionTableBin = {ResultDir}PPCExceptionTable.x
{ExceptionTableBin} <09> PPCExceptionTable.s
PPCAsm -o {Targ} {Deps}
ConfigInfoBin = {ResultDir}ConfigInfo.x
{ConfigInfoBin} <09> ConfigInfo.s
PPCAsm -o {Targ} {Deps}
#### PowerPC NanoKernel ####
NKDir = :NanoKernel:
NKIncDir = :Internal:
NKBin = {ResultDir}NanoKernel.x
NKOpts =
#include "{NKDir}InnerMakeFile"
EmulatorBin = Emulator.x
{ResultDir}PowerROM <09> {LinkerDir}LinkPowerROM.tool {RomBin} {ExceptionTableBin} {ConfigInfoBin} {NKBin} {EmulatorBin}
2017-11-19 04:11:07 +00:00
{LinkerDir}LinkPowerROM {Targ} <09>
RomTop: <09>
0x000000 Mac68kRomTop: <09>
{RomBin} <09>
Mac68kRomBtm: <09>
<09>
0x300000 ExTblTop: <09>
{ExceptionTableBin} <09>
<09>
0x30d000 CHECKSUM <09>
2017-11-19 04:11:07 +00:00
{ConfigInfoBin} <09>
<09>
0x310000 NKTop: <09>
{NKBin} <09>
<09>
0x360000 <09>
{EmulatorBin} <09>
0x400000 RomBtm: <09>
> Dev:Null # unless you want debug output