mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
ninja cc tools/n64crc
This commit is contained in:
parent
61f49e23af
commit
2275b4d3ec
3
.gitignore
vendored
3
.gitignore
vendored
@ -34,4 +34,5 @@ build.ninja
|
|||||||
/sprite/SpriteTable.xml
|
/sprite/SpriteTable.xml
|
||||||
/mod.cfg
|
/mod.cfg
|
||||||
|
|
||||||
tools/Yay0compress
|
/tools/Yay0compress
|
||||||
|
/tools/n64crc
|
||||||
|
@ -284,7 +284,7 @@ async def main():
|
|||||||
n.comment("target")
|
n.comment("target")
|
||||||
n.build("$builddir/$target.ld", "cpp", "$target.ld")
|
n.build("$builddir/$target.ld", "cpp", "$target.ld")
|
||||||
n.build("$builddir/$target.elf", "link", "$builddir/$target.ld", implicit=[obj(o) for o in objects], implicit_outputs="$builddir/$target.map")
|
n.build("$builddir/$target.elf", "link", "$builddir/$target.ld", implicit=[obj(o) for o in objects], implicit_outputs="$builddir/$target.map")
|
||||||
n.build("$target.z64", "rom", "$builddir/$target.elf")
|
n.build("$target.z64", "rom", "$builddir/$target.elf", implicit="tools/n64crc")
|
||||||
n.build("compare", "sha1sum", "checksum.sha1", implicit="$target.z64")
|
n.build("compare", "sha1sum", "checksum.sha1", implicit="$target.z64")
|
||||||
n.newline()
|
n.newline()
|
||||||
|
|
||||||
@ -426,7 +426,9 @@ async def main():
|
|||||||
print("")
|
print("")
|
||||||
n.newline()
|
n.newline()
|
||||||
|
|
||||||
|
# c tools that need to be compiled
|
||||||
n.build("tools/Yay0compress", "cc_modern_exe", "tools/Yay0compress.c")
|
n.build("tools/Yay0compress", "cc_modern_exe", "tools/Yay0compress.c")
|
||||||
|
n.build("tools/n64crc", "cc_modern_exe", "tools/n64crc.c")
|
||||||
n.newline()
|
n.newline()
|
||||||
|
|
||||||
print("")
|
print("")
|
||||||
|
BIN
tools/n64crc
BIN
tools/n64crc
Binary file not shown.
Loading…
Reference in New Issue
Block a user