summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2021-11-06 00:37:37 +0100
committeroctorock <79596758+octorock@users.noreply.github.com>2021-11-07 01:30:03 +0100
commit8d6c3fe541ee04bae5f3bfb425143569d037a76a (patch)
treefed09ac2eff287629478ef717f105e0c4c8ba7b1 /Makefile
parenta6d133e42dfec121b42028eb0d3a38fa4345d18d (diff)
Rewrite asset processor in C++
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index b9b66534..646eae4d 100644
--- a/Makefile
+++ b/Makefile
@@ -164,7 +164,8 @@ setup: $(TOOLDIRS)
# TODO temporary workaround to have translation bins as dependencies manually here as scaninc somehow does not work?
extractassets: translations/USA.bin translations/English.bin translations/French.bin translations/German.bin translations/Spanish.bin translations/Italian.bin
- python3 tools/asset_extractor/asset_extractor.py $(GAME_VERSION) $(ASSET_BUILDDIR)
+ tools/asset_processor/asset_processor extract $(GAME_VERSION) $(ASSET_BUILDDIR)
+# python3 tools/asset_extractor/asset_extractor.py $(GAME_VERSION) $(ASSET_BUILDDIR)
$(TOOLDIRS):
@$(MAKE) -C $@
@@ -188,8 +189,6 @@ tidy:
rm -f tmc_eu.gba tmc_eu.elf tmc_eu.map
rm -r build/*
-include graphics_file_rules.mk
-include songs.mk
%.s: ;
%.png: ;
@@ -203,8 +202,6 @@ include songs.mk
%.gbapal: %.png ; $(GFX) $< $@
%.lz: % ; $(GFX) $< $@
%.rl: % ; $(GFX) $< $@
-sound/%.bin: sound/%.aif ; $(AIF) $< $@
-sound/songs/%.s: sound/songs/%.mid
cd $(@D) && ../../$(MID) $(<F)
translations/USA.bin: translations/USA.json ; tools/tmc_strings/tmc_strings -p --source $< --dest $@ --size 0x499E0
translations/English.bin: translations/English.json ; tools/tmc_strings/tmc_strings -p --source $< --dest $@ --size 0x488C0