pokeruby/generated.mk
YamaArashi 0ebfe95d65 text.c
2016-05-30 02:19:25 -07:00

38 lines
1.3 KiB
Makefile

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