summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2021-06-20 12:32:51 -0400
committerGitHub <noreply@github.com>2021-06-20 12:32:51 -0400
commitf917febffb80f8c8d1c34eda191b5ec3011a2f77 (patch)
treea7e80ddf3af1b80d237965fb10488cbfaaae5218 /Makefile
parentd34132455fbd82cb9c55784c023bb2cefe43aac3 (diff)
parentb42d1ca1adc5c299ae7833df2ae0f15d4c68b50b (diff)
Merge pull request #95 from ZoomTen/super-gameboy
Some work on SGB functions (bank $02)
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 $@