makefile 901 B

123456789101112131415161718192021222324252627282930
  1. #
  2. # Copyright 2011-2025 Branimir Karadzic. All rights reserved.
  3. # License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE
  4. #
  5. include ../../../scripts/shader-embeded.mk
  6. droidsans.ttf.h: ../../runtime/font/droidsans.ttf
  7. @bin2c -f $(<) -o $(@) -n s_droidSansTtf
  8. roboto_regular.ttf.h: ../../runtime/font/roboto-regular.ttf
  9. @bin2c -f $(<) -o $(@) -n s_robotoRegularTtf
  10. robotomono_regular.ttf.h: ../../runtime/font/robotomono-regular.ttf
  11. @bin2c -f $(<) -o $(@) -n s_robotoMonoRegularTtf
  12. icons_font_awesome.ttf.h: ../../runtime/font/fontawesome-webfont.ttf
  13. @bin2c -f $(<) -o $(@) -n s_iconsFontAwesomeTtf
  14. icons_kenney.ttf.h: ../../runtime/font/kenney-icon-font.ttf
  15. @bin2c -f $(<) -o $(@) -n s_iconsKenneyTtf
  16. fonts: droidsans.ttf.h \
  17. roboto_regular.ttf.h \
  18. robotomono_regular.ttf.h \
  19. icons_font_awesome.ttf.h \
  20. icons_kenney.ttf.h
  21. rebuild: fonts
  22. @make -s --no-print-directory clean all