summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2011-08-09 15:55:30 +0700
committerRobin Watts <robin.watts@artifex.com>2011-09-14 17:41:30 +0100
commitcefb81f1886685580a40b17b5e495a8a8a1ebeaf (patch)
tree737c5f342474cc20464e9ae72a15af69e6bd6f4e /Makerules
parent32ee8f594db8c6221db2c42949e0ee58cc47c176 (diff)
downloadmupdf-cefb81f1886685580a40b17b5e495a8a8a1ebeaf.tar.xz
Add Memento build option.
Import memento files. Update Makefile to support: make build=memento (like debug, but with memento too). Tiny tweak to cmapdump to avoid memento building that utility.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index 63a75d6a..80418031 100644
--- a/Makerules
+++ b/Makerules
@@ -14,6 +14,8 @@ else ifeq "$(build)" "release"
CFLAGS += -pipe -O2 -DNDEBUG -fomit-frame-pointer
else ifeq "$(build)" "native"
CFLAGS += -pipe -O2 -DNDEBUG -fomit-frame-pointer -march=native -mfpmath=sse
+else ifeq "$(build)" "memento"
+CFLAGS += -pipe -g -DMEMENTO
else
$(error unknown build setting: '$(build)')
endif