summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorZumi Daxuya <daxuya.zumi+code@protonmail.com>2021-05-17 22:37:27 +0700
committerZumi Daxuya <daxuya.zumi+code@protonmail.com>2021-05-17 22:37:27 +0700
commit022ad86db56d2611b40256192d1db1e63a91c9c5 (patch)
tree442dfe715ed7513841820e6c0c84f882fd0dabb7 /Makefile
parent0f72265c2fb4df1069654ee9e62707398e326649 (diff)
Fix failing build
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 903f5db..af03e9f 100644
--- a/Makefile
+++ b/Makefile
@@ -124,6 +124,10 @@ $(BUILD)/%.1bpp: %.1bpp.png tools/gfx | $$(dir $$@)
$(BUILD)/%.tilemap: %.png | $$(dir $$@)
$(RGBGFX) -t $@ $<
+.PRECIOUS: $(BUILD)/%.sgb.tilemap
+$(BUILD)/%.sgb.tilemap: %.bin | $$(dir $$@)
+ tr < $< -d '\000' > $@
+
.PRECIOUS: %/
%/:
mkdir -p $@