From: Mikko Rasa Date: Wed, 31 Mar 2021 11:15:47 +0000 (+0300) Subject: Use pkg-config to get freetype compile info X-Git-Url: http://git.tdb.fi/?p=ttf2png.git;a=commitdiff_plain;h=8f108143e67a2d4b2ca6d377db8b3c18a4abe75c Use pkg-config to get freetype compile info --- diff --git a/Makefile b/Makefile index f5bda93..0c009ab 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CFLAGS := -Wall -Wextra -Werror -std=c89 -pedantic -O2 -FREETYPE_FLAGS := $(shell freetype-config --cflags --libs) +FREETYPE_FLAGS := $(shell pkg-config --cflags --libs freetype2) LIBPNG_FLAGS := $(shell pkg-config --cflags --libs libpng16) ttf2png: ttf2png.c