mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
make split automatically
This commit is contained in:
parent
90091e49db
commit
f5dbfa2fe0
8
Makefile
8
Makefile
@ -123,7 +123,7 @@ clean-code:
|
|||||||
tools:
|
tools:
|
||||||
make -C tools
|
make -C tools
|
||||||
|
|
||||||
setup: clean submodules tools split $(LD_SCRIPT)
|
setup: clean submodules tools $(LD_SCRIPT)
|
||||||
|
|
||||||
# tools/star-rod submodule intentionally omitted
|
# tools/star-rod submodule intentionally omitted
|
||||||
submodules:
|
submodules:
|
||||||
@ -131,8 +131,7 @@ submodules:
|
|||||||
git submodule update --recursive
|
git submodule update --recursive
|
||||||
|
|
||||||
split:
|
split:
|
||||||
$(SPLAT) --modes ld bin Yay0 PaperMarioMapFS PaperMarioMessages img PaperMarioNpcSprites --new
|
make $(LD_SCRIPT) -W $(SPLAT_YAML)
|
||||||
make $(GENERATED_HEADERS)
|
|
||||||
|
|
||||||
split-%:
|
split-%:
|
||||||
$(SPLAT) --modes ld $* --verbose
|
$(SPLAT) --modes ld $* --verbose
|
||||||
@ -263,7 +262,8 @@ include/sprite/npc/%.h: sprite/npc/%/SpriteSheet.xml tools/gen_sprite_animations
|
|||||||
### Linker ###
|
### Linker ###
|
||||||
|
|
||||||
$(LD_SCRIPT): $(SPLAT_YAML)
|
$(LD_SCRIPT): $(SPLAT_YAML)
|
||||||
$(SPLAT) --modes ld > /dev/null
|
$(SPLAT) --modes ld bin Yay0 PaperMarioMapFS PaperMarioMessages img PaperMarioNpcSprites --new
|
||||||
|
make $(GENERATED_HEADERS)
|
||||||
|
|
||||||
$(BUILD_DIR)/$(LD_SCRIPT): $(LD_SCRIPT)
|
$(BUILD_DIR)/$(LD_SCRIPT): $(LD_SCRIPT)
|
||||||
@mkdir -p $(shell dirname $@)
|
@mkdir -p $(shell dirname $@)
|
||||||
|
Loading…
Reference in New Issue
Block a user