aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
blob: 20f94ed2eb86ebe8156dc6d7eaefa543528ce5ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
PREFIX    = /usr
MANPREFIX = $(PREFIX)/share/man

DEMO_FONT = /usr/share/fonts/liberation/LiberationSans-Regular.ttf

MERGE_STYLE = MAX
# MAX: The max value of the glyph            (minimum legal result, insignificantly slower than SUM)
# OR:  The bitwise OR of the glyph values    (within legal range, fastest)
# SUM: The saturated sum of the glyph values (maximum legal result)

CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D$(MERGE_STYLE)_MERGE '-DDEMO_FONT="$(DEMO_FONT)"'
CFLAGS   = -std=c99 -Wall -g
LDFLAGS  = -lschrift -lm -lgrapheme

CC = cc