summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2011-02-02 16:13:35 +0000
committerTor Andersson <tor@ghostscript.com>2011-02-02 16:13:35 +0000
commit8a4241e2fd1321a8d549a372dd163beff78a7047 (patch)
treeda647b9781890de12dbc002bdf38de90b4a583d0 /Makerules
parent333860c5c9c4539f36d3bd0716bc696a6ebddd0f (diff)
downloadmupdf-8a4241e2fd1321a8d549a372dd163beff78a7047.tar.xz
Use BINDIR, LIBDIR and INCDIR variables for installation directories instead of hard coding the use of /bin etc.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index ef7c3732..01c45df0 100644
--- a/Makerules
+++ b/Makerules
@@ -11,6 +11,11 @@ ifeq "$(build)" "debug"
CFLAGS += -pipe -g
endif
+ifeq "$(build)" "profile"
+CFLAGS += -pipe -O2 -DNDEBUG -pg
+LDFLAGS += -pg
+endif
+
ifeq "$(build)" "release"
CFLAGS += -pipe -O2 -DNDEBUG -fomit-frame-pointer
endif