mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 12:32:38 +01:00
ninja tools/Yay0compress
This commit is contained in:
parent
b2bb62a205
commit
5ac16f969a
1
Makefile
1
Makefile
@ -128,7 +128,6 @@ clean-code:
|
||||
rm -rf $(BUILD_DIR)/src
|
||||
|
||||
tools:
|
||||
make -C tools
|
||||
|
||||
setup: clean-all submodules tools
|
||||
@make split
|
||||
|
@ -122,6 +122,9 @@ async def main():
|
||||
cpp = args.cpp or "cpp"
|
||||
task_sem = asyncio.Semaphore(8)
|
||||
|
||||
# compile n64splat dependencies
|
||||
await shell("make -C tools/n64splat")
|
||||
|
||||
# split assets
|
||||
split.main(
|
||||
"baserom.z64",
|
||||
@ -297,6 +300,10 @@ async def main():
|
||||
num_tasks_done = 0
|
||||
await asyncio.gather(*tasks)
|
||||
print("")
|
||||
n.newline()
|
||||
|
||||
n.rule("cc_modern_exe", command="cc $in -O3 -o $out")
|
||||
n.build("tools/Yay0compress", "cc_modern_exe", "tools/Yay0compress.c")
|
||||
|
||||
if __name__ == "__main__":
|
||||
asyncio.run(main())
|
||||
|
@ -1,11 +0,0 @@
|
||||
default: all
|
||||
|
||||
all: Yay0compress
|
||||
make -C n64splat
|
||||
|
||||
Yay0compress:
|
||||
gcc Yay0compress.c -O3 -o Yay0compress
|
||||
|
||||
clean:
|
||||
rm -f Yay0compress
|
||||
make clean -C n64splat
|
Loading…
Reference in New Issue
Block a user