diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | gfx/gfx.mk | 3 |
2 files changed, 4 insertions, 3 deletions
@@ -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 $@ @@ -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' > $@ |