summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-04-21 13:13:22 +0100
committerRobin Watts <robin.watts@artifex.com>2012-04-21 13:14:10 +0100
commita5e78404887363b73bf7a41b54340ac3875682cd (patch)
tree0c214c3c3fe735a08d22d66ee265ed6cf953d5a9 /Makefile
parentc6e27a74283a1fa31a930f1909dbc46e131f0447 (diff)
downloadmupdf-a5e78404887363b73bf7a41b54340ac3875682cd.tar.xz
Add XLIBS to complement XCFLAGS
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 80190a8c..0d10e357 100644
--- a/Makefile
+++ b/Makefile
@@ -9,8 +9,11 @@ GEN := generated
default: all
+# Do not specify CFLAGS or LIBS on the make invocation line - specify
+# XCFLAGS or XLIBS instead. Make ignores any lines in the makefile that
+# set a variable that was set on the command line.
CFLAGS += $(XCFLAGS) -Ifitz -Ipdf -Ixps -Icbz -Iscripts
-LIBS += -lfreetype -ljbig2dec -ljpeg -lopenjpeg -lz -lm
+LIBS += $(XLIBS) -lfreetype -ljbig2dec -ljpeg -lopenjpeg -lz -lm
include Makerules
include Makethird