aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index de63532..20f94ed 100644
--- a/config.mk
+++ b/config.mk
@@ -3,7 +3,12 @@ MANPREFIX = $(PREFIX)/share/man
DEMO_FONT = /usr/share/fonts/liberation/LiberationSans-Regular.ttf
-CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE '-DDEMO_FONT="$(DEMO_FONT)"'
+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