summaryrefslogtreecommitdiff
path: root/generated.mk
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-05-27 15:08:48 -0700
committerYamaArashi <shadow962@live.com>2016-05-30 02:19:25 -0700
commit0ebfe95d65fc2852a6b7f0528a2a114de7fe698e (patch)
treea20b2e0e839661df88664d6547841a3a79e07222 /generated.mk
parent1d8ca2c1b995be87bb78dcf9bdfdc1d924a48979 (diff)
text.c
Diffstat (limited to 'generated.mk')
-rw-r--r--generated.mk37
1 files changed, 37 insertions, 0 deletions
diff --git a/generated.mk b/generated.mk
new file mode 100644
index 000000000..c72daf2ac
--- /dev/null
+++ b/generated.mk
@@ -0,0 +1,37 @@
+BIN2C := tools/bin2c/bin2c
+
+GEN_FONT_HEADERS := \
+include/fonts/font0_lat_glyphs.h \
+include/fonts/font1_lat_glyphs.h \
+include/fonts/font0_jpn_glyphs.h \
+include/fonts/font1_jpn_glyphs.h \
+include/fonts/braille_glyphs.h \
+include/fonts/down_arrow_tiles.h \
+include/fonts/unknown_palette_81E6692.h \
+include/fonts/default_palette.h
+
+generated: $(GEN_FONT_HEADERS)
+
+include/fonts/font0_lat_glyphs.h: graphics/fonts/font0_lat.1bpp
+ $(BIN2C) $< sFont0LatinGlyphs >$@ -static -col 8 -pad 4
+
+include/fonts/font1_lat_glyphs.h: graphics/fonts/font1_lat.1bpp
+ $(BIN2C) $< sFont1LatinGlyphs >$@ -static -col 8 -pad 4
+
+include/fonts/font0_jpn_glyphs.h: graphics/fonts/font0_jpn.1bpp
+ $(BIN2C) $< sFont0JapaneseGlyphs >$@ -static -col 8 -pad 4
+
+include/fonts/font1_jpn_glyphs.h: graphics/fonts/font1_jpn.1bpp
+ $(BIN2C) $< sFont1JapaneseGlyphs >$@ -static -col 8 -pad 4
+
+include/fonts/braille_glyphs.h: graphics/fonts/font6_braille.1bpp
+ $(BIN2C) $< sBrailleGlyphs >$@ -static -col 8 -pad 4
+
+include/fonts/down_arrow_tiles.h: graphics/fonts/down_arrow.4bpp
+ $(BIN2C) $< sDownArrowTiles >$@ -static -size 4 -pad 10
+
+include/fonts/unknown_palette_81E6692.h: graphics/fonts/unknown_81E6692.gbapal
+ $(BIN2C) $< gUnknownPalette_81E6692 >$@ -size 2 -pad 6
+
+include/fonts/default_palette.h: graphics/fonts/default.gbapal
+ $(BIN2C) $< gFontDefaultPalette >$@ -size 2 -pad 6