Makefile update

This commit is contained in:
Ethan Roseman 2021-01-15 10:27:43 +09:00
parent 5e12a46dd4
commit 9eaa7cbeb9

View File

@ -130,14 +130,9 @@ clean-code:
tools:
make -C tools
setup: clean-all submodules tools
setup: clean-all tools
@make split
# tools/star-rod submodule intentionally omitted
submodules:
git submodule init tools/n64splat
git submodule update --recursive
split:
make $(LD_SCRIPT) -W $(SPLAT_YAML)
@ -297,10 +292,6 @@ include/ld_addrs.h: $(BUILD_DIR)/$(LD_SCRIPT)
STAR_ROD := cd tools/star-rod && $(JAVA) -jar StarRod.jar
# lazily initialise the submodule
tools/star-rod:
git submodule init tools/star-rod
sprite/SpriteTable.xml: tools/star-rod sources.mk
$(PYTHON) tools/star-rod/spritetable.xml.py $(NPC_SPRITES) > $@
@ -310,7 +301,7 @@ editor: tools/star-rod sprite/SpriteTable.xml
### Make Settings ###
.PHONY: clean tools test setup submodules split editor $(ROM)
.PHONY: clean tools test setup split editor $(ROM)
.DELETE_ON_ERROR:
.SECONDARY:
.PRECIOUS: $(ROM) %.Yay0