Merge pull request #463 from adenvt/master

fix(fontconvert): use `pkg-config`
This commit is contained in:
Mikey Sklar authored and GitHub committed 2026-10-15 18:07:57 -07:00
commit af4ffdea12
1 file changed
+2 -2
+2 -2
View File
@@ -1,8 +1,8 @@
all: fontconvert
CC = gcc
CFLAGS = -Wall -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I/usr/include
LIBS = -lfreetype
CFLAGS = -Wall $(shell pkg-config --cflags freetype2)
LIBS = $(shell pkg-config --libs freetype2)
fontconvert: fontconvert.c
$(CC) $(CFLAGS) $< $(LIBS) -o $@