how to compile the freetype example

Sep 30, 2022

here is the freetype tutorial, which includes a link (hidden at the end(!?)) to an example C program with limited instructions for how to use the thing.

This makefile builds it, which it took me a bit to figure out:

INCLUDE_FLAGS=$(shell pkg-config --cflags --libs freetype2)

example: example1.c
    $(CC) $(INCLUDE_FLAGS) $< -o $@
↑ up