This is a custom binary format for pre-rendering outline fonts as a collection of bitmaps.
16 lines
334 B
Makefile
16 lines
334 B
Makefile
CFLAGS = -Og -Wall -Wextra -Werror -ggdb -Wno-error=unused-parameter -Wno-error=unused-variable
|
|
CFLAGS += $(shell pkg-config --cflags freetype2)
|
|
LDFLAGS = $(shell pkg-config --libs freetype2)
|
|
|
|
all: ttf-convert
|
|
|
|
%.o: %.cpp
|
|
$(CXX) $(CFLAGS) -c $< -o $@
|
|
|
|
%: %.o
|
|
$(CXX) $(LDFLAGS) $< -o $@
|
|
|
|
.SUFFIXES:
|
|
|
|
# /usr/share/fonts/OTF/ipagp.ttf
|