refactor makefile

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@515 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-30 07:44:37 +00:00
parent 1ae9b9408c
commit b0bee1e90b
7 changed files with 146 additions and 133 deletions

10
mk/freetype2.mk Normal file
View File

@@ -0,0 +1,10 @@
# $Id$
ifeq ($(USE_FREETYPE2),1)
L_CFLAGS += -DUSE_FREETYPE2
ifneq ($(CROSS),1)
L_CFLAGS += $(shell pkg-config --cflags freetype2)
L_LIBS += $(shell pkg-config --libs freetype2)
endif
endif