summaryrefslogtreecommitdiff
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
parent0f72265c2fb4df1069654ee9e62707398e326649 (diff)
Fix failing build
-rw-r--r--Makefile4
-rw-r--r--gfx/gfx.mk3
2 files changed, 4 insertions, 3 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 $@
diff --git a/gfx/gfx.mk b/gfx/gfx.mk
index 555ae2d..afc5d10 100644
--- a/gfx/gfx.mk
+++ b/gfx/gfx.mk
@@ -29,6 +29,3 @@ $(BUILD)/gfx/minigames/%.bin: gfx/minigames/%.bin
$(BUILD)/gfx/battle_anims/attack_animations_1.2bpp: tools/gfx += --trim-whitespace
$(BUILD)/gfx/battle_anims/attack_animations_2.2bpp: tools/gfx += --trim-whitespace
-
-$(BUILD)/gfx/sgb/%.sgb.tilemap: gfx/sgb/%.bin
- tr < $< -d '\000' > $@