summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/common/imgui/makefile
blob: 7b26cb84a8565fef6ab63b5d441642becf9019d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# Copyright 2011-2025 Branimir Karadzic. All rights reserved.
# License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE
#

include ../../../scripts/shader-embeded.mk

droidsans.ttf.h: ../../runtime/font/droidsans.ttf
	@bin2c -f $(<) -o $(@) -n s_droidSansTtf

roboto_regular.ttf.h: ../../runtime/font/roboto-regular.ttf
	@bin2c -f $(<) -o $(@) -n s_robotoRegularTtf

robotomono_regular.ttf.h: ../../runtime/font/robotomono-regular.ttf
	@bin2c -f $(<) -o $(@) -n s_robotoMonoRegularTtf

icons_font_awesome.ttf.h: ../../runtime/font/fontawesome-webfont.ttf
	@bin2c -f $(<) -o $(@) -n s_iconsFontAwesomeTtf

icons_kenney.ttf.h: ../../runtime/font/kenney-icon-font.ttf
	@bin2c -f $(<) -o $(@) -n s_iconsKenneyTtf

fonts: droidsans.ttf.h \
	roboto_regular.ttf.h \
	robotomono_regular.ttf.h \
	icons_font_awesome.ttf.h \
	icons_kenney.ttf.h

rebuild: fonts
	@make -s --no-print-directory clean all