Skip to content

Commit

Permalink
Update butano example's Makefile because butano_fonts_tool's separation.
Browse files Browse the repository at this point in the history
  • Loading branch information
laqieer committed Feb 11, 2022
1 parent 99d1d99 commit 99824a2
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions examples/butano/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,16 @@ PYTHON := python
SOURCES := src
INCLUDES := $(BUILD)
DATA :=
GRAPHICS := graphics
GRAPHICS := graphics $(BUILD)/fonts
AUDIO := audio
FONTS := ../../common/fonts/SimplifiedChinese ../../common/fonts/Japanese ../../common/fonts/Korean ../../common/fonts/TraditionalChinese ../../common/fonts/TraditionalChineseHK
ROMTITLE := BUTANO TEXT
ROMTITLE := FREE FONT
ROMCODE := SBTP
USERFLAGS :=
USERLIBDIRS :=
USERLIBS :=
USERBUILD :=
EXTTOOL :=

#---------------------------------------------------------------------------------------------------------------------
# Install Pillow to handle fonts:
#---------------------------------------------------------------------------------------------------------------------
ifneq ($(strip $(FONTS)),)
EXTTOOL +=
endif
EXTTOOL := $(PYTHON) $(LIBBUTANO)/tools/butano_fonts_tool.py --build=$(BUILD) --fonts="$(FONTS)"

#---------------------------------------------------------------------------------------------------------------------
# Export absolute butano path:
Expand Down

0 comments on commit 99824a2

Please sign in to comment.