From: Mikko Rasa Date: Sat, 14 Apr 2018 09:20:52 +0000 (+0300) Subject: Update the Makefile to look for libpng16 X-Git-Url: http://git.tdb.fi/?p=ttf2png.git;a=commitdiff_plain;h=d21d9efb920023958ef777db40b51eddf7f5e487 Update the Makefile to look for libpng16 Libpng12 is quite old and 16 has been the default in Debian stable since last year. --- diff --git a/Makefile b/Makefile index b719c0a..f5bda93 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ CFLAGS := -Wall -Wextra -Werror -std=c89 -pedantic -O2 FREETYPE_FLAGS := $(shell freetype-config --cflags --libs) -LIBPNG_FLAGS := $(shell pkg-config --cflags --libs libpng12) +LIBPNG_FLAGS := $(shell pkg-config --cflags --libs libpng16) ttf2png: ttf2png.c $(CC) $(CFLAGS) $^ -o $@ $(FREETYPE_FLAGS) $(LIBPNG_FLAGS)