Reordered makefile.

Added some documentation and simplified dependency scanning.
This commit is contained in:
Icedude907
2023-11-12 13:20:09 +13:00
parent 7fa9819d9a
commit 2198ca31c7
2 changed files with 178 additions and 185 deletions

View File

@@ -9,7 +9,9 @@ TOOL_NAMES := aif2pcm bin2c gbafix gbagfx jsonproc mapjson mid2agb preproc ramsc
TOOLDIRS := $(TOOL_NAMES:%=$(TOOLS_DIR)/%)
.PHONY: tools check-tools clean-tools $(TOOLDIRS) $(CHECKTOOLDIRS)
# Tool making doesnt require a pokeemerald dependency scan.
RULES_NO_SCAN += tools check-tools clean-tools $(TOOLDIRS) $(CHECKTOOLDIRS)
.PHONY: $(RULES_NO_SCAN)
tools: $(TOOLDIRS)
check-tools: $(CHECKTOOLDIRS)