diff options
Diffstat (limited to 'generated.mk')
-rw-r--r-- | generated.mk | 37 |
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 |