diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2011-04-25 13:23:32 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2011-04-25 13:23:32 +0100 |
commit | 3e168943f71418cc957290f1bf9569c0fe6c6519 (patch) | |
tree | 73b7c2e1017571ea7cd9bba03b9c99a225816a39 | |
parent | b86564890124c50fb711a0ce8ff42143a36c7a67 (diff) | |
download | mupdf-3e168943f71418cc957290f1bf9569c0fe6c6519.tar.xz |
Add 'generate' make target to make font/cmap headers.
Simple tweak to aid cross compiling.
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | Makerules | 8 |
2 files changed, 8 insertions, 2 deletions
@@ -111,6 +111,8 @@ $(CMAP_HDR) : $(CMAPDUMP) | $(GEN) $(FONT_HDR) : $(FONTDUMP) | $(GEN) endif +generate: $(CMAP_HDR) $(FONT_HDR) + $(OUT)/pdf_cmap_table.o : $(CMAP_HDR) $(OUT)/pdf_fontfile.o : $(FONT_HDR) $(OUT)/cmapdump.o : pdf/pdf_cmap.c pdf/pdf_cmap_parse.c @@ -50,8 +50,12 @@ endif # Invoke this as: # make OS=beagle-cross build=release # This does rely on the generated directory being populated with the cmap -# files etc first. Either do a non cross compile build (e.g. windows in MSVC -# or windows in cygwin) first, or download the generated files from mupdf.com. +# files etc first. Either: +# 1) do 'make generate' first (this relies on you having an appropriate host +# base C compiler set up - such as you would have on unix or in windows +# cygwin) +# 2) do a non cross compile build (e.g. windows in MSVC) first. +# 3) download the generated files from mupdf.com. ifeq "$(OS)" "beagle-cross" CC = arm-none-linux-gnueabi-gcc LD = arm-none-linux-gnueabi-gcc |