move gfx py tools to ./scripts dir

This commit is contained in:
MokhaLeee 2024-09-29 15:03:35 +08:00
parent 427e5d2a8a
commit 974a26e69f
9 changed files with 6 additions and 15 deletions

View File

@ -33,7 +33,7 @@ AIF2PCM := tools/aif2pcm/aif2pcm$(EXE)
MID2AGB := tools/mid2agb/mid2agb$(EXE)
TEXTENCODE := tools/textencode/textencode$(EXE)
JSONPROC := tools/jsonproc/jsonproc$(EXE)
FETSATOOL := tools/gfxtools/tsa_generator.py
FETSATOOL := scripts/gfxtools/tsa_generator.py
ifeq ($(UNAME),Darwin)
SED := sed -i ''

View File

@ -1,23 +1,14 @@
MAKEFLAGS += --no-print-directory
TOOLDIRS := ./tools
TOOLDIRS := $(filter-out tools/agbcc,$(wildcard tools/*))
TOOLS :=
TOOLS += $(TOOLDIRS)/aif2pcm
TOOLS += $(TOOLDIRS)/bin2c
TOOLS += $(TOOLDIRS)/textencode
TOOLS += $(TOOLDIRS)/jsonproc
TOOLS += $(TOOLDIRS)/mid2agb
TOOLS += $(TOOLDIRS)/scaninc
TOOLS += $(TOOLDIRS)/gbagfx
.PHONY: all $(TOOLDIRS) clean
.PHONY: all $(TOOLS) clean
all: $(TOOLDIRS)
all: $(TOOLS)
$(TOOLS):
$(TOOLDIRS):
@$(MAKE) -C $@
clean:
@$(foreach tooldir,$(TOOLS),$(MAKE) clean -C $(tooldir);)
@$(foreach tooldir,$(TOOLDIRS),$(MAKE) clean -C $(tooldir);)