summaryrefslogtreecommitdiff
path: root/docs/example.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-01-05 12:13:12 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-01-05 14:47:37 +0100
commit4d45a50c5efb68be44a2e39bf12a4a11353acc4f (patch)
tree253365a8cd1c4e4a57b132997b49b3798ef05fae /docs/example.c
parent96a54896ee453a453b25a9c9e5c6ba8d0caba7cc (diff)
downloadmupdf-4d45a50c5efb68be44a2e39bf12a4a11353acc4f.tar.xz
Link required thirdparty libraries into one library: libmupdfthird.a
Keep the extra thirdparty libraries (curl and glfw) separate. This matches the build process for android and win32. Also purge some unused makefile sections.
Diffstat (limited to 'docs/example.c')
-rw-r--r--docs/example.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/docs/example.c b/docs/example.c
index 3099ecb1..231bbaeb 100644
--- a/docs/example.c
+++ b/docs/example.c
@@ -4,13 +4,9 @@
Build the mupdf library using make, then either run 'make examples' or
compile the example manually:
- gcc -Iinclude -o example.exe docs/example.c build/debug/libmupdf.a \
- build/debug/libfreetype.a \
- build/debug/libjbig2dec.a \
- build/debug/libjpeg.a \
- build/debug/libmujs.a \
- build/debug/libopenjpeg.a \
- build/debug/libz.a \
+ gcc -Iinclude -o example.exe docs/example.c \
+ build/debug/libmupdf.a \
+ build/debug/libmupdfthird.a
-lcrypto \
-lm