summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2016-03-15 16:33:22 -0700
committerRobin Watts <robin.watts@artifex.com>2016-04-19 18:30:40 +0100
commit1bbde93ba39613877ded2015965aaab2341d3d36 (patch)
treef2a4936de895c6ddc40deb7bc93ccfb66de514d3 /Makefile
parent335798189cbd40cd518ce49d1fa4c7eaa2811977 (diff)
downloadmupdf-1bbde93ba39613877ded2015965aaab2341d3d36.tar.xz
Add mutool merge
This commit adds a page merging tool. The tool demonstrates the use of object grafting. The object grafting function recursively goes through the object to add all referenced objects. A map is maintained to ensure that objects that have already been copied are not copied again.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5e1d2778..d0dba772 100644
--- a/Makefile
+++ b/Makefile
@@ -249,7 +249,7 @@ $(OUT)/cmapdump.o : include/mupdf/pdf/cmap.h source/pdf/pdf-cmap.c source/pdf/pd
# --- Tools and Apps ---
MUTOOL := $(addprefix $(OUT)/, mutool)
-MUTOOL_OBJ := $(addprefix $(OUT)/tools/, mutool.o mudraw.o murun.o pdfclean.o pdfcreate.o pdfextract.o pdfinfo.o pdfposter.o pdfshow.o pdfpages.o)
+MUTOOL_OBJ := $(addprefix $(OUT)/tools/, mutool.o mudraw.o murun.o pdfclean.o pdfcreate.o pdfextract.o pdfinfo.o pdfposter.o pdfshow.o pdfpages.o pdfmerge.o)
$(MUTOOL_OBJ): $(FITZ_HDR) $(PDF_HDR)
$(MUTOOL) : $(MUPDF_LIB) $(THIRD_LIB)
$(MUTOOL) : $(MUTOOL_OBJ)