From 03e5755b93e90cc4c09daad4c79b6016bf4ce43c Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 12 Jun 2013 13:46:21 +0200 Subject: Move header files into separate include directory. --- doc/example.c | 7 ++----- doc/multi-threaded.c | 8 +++----- 2 files changed, 5 insertions(+), 10 deletions(-) (limited to 'doc') diff --git a/doc/example.c b/doc/example.c index e50d0e21..1a21c200 100644 --- a/doc/example.c +++ b/doc/example.c @@ -2,15 +2,12 @@ // Compile a debug build of mupdf, then compile and run this example: // -// gcc -g -o build/debug/example -I fitz doc/example.c \ -// build/debug/libfitz.a build/debug/libfreetype.a \ -// build/debug/libopenjpeg.a build/debug/libjbig2dec.a \ -// build/debug/libjpeg.a -lm +// gcc -g -o build/debug/example -Iinclude doc/example.c build/debug/lib*.a -lm // // build/debug/example /path/to/document.pdf 1 200 25 // Include the MuPDF header file. -#include +#include void render(char *filename, int pagenumber, int zoom, int rotation) diff --git a/doc/multi-threaded.c b/doc/multi-threaded.c index c6a3d652..3141e3c4 100644 --- a/doc/multi-threaded.c +++ b/doc/multi-threaded.c @@ -13,10 +13,8 @@ // Compile a debug build of mupdf, then compile and run this example: // -// gcc -g -o build/debug/example-mt -I fitz doc/multi-threading.c \ -// build/debug/libfitz.a build/debug/libfreetype.a \ -// build/debug/libopenjpeg.a build/debug/libjbig2dec.a \ -// build/debug/libjpeg.a -lpthread -lm +// gcc -g -o build/debug/example-mt -Iinclude doc/multi-threading.c \ +// build/debug/lib*.a -lpthread -lm // // build/debug/example-mt /path/to/document.pdf // @@ -26,7 +24,7 @@ // depending on your environment. // Include the MuPDF header file, and pthread's header file. -#include +#include #include // A convenience function for dying abruptly on pthread errors. -- cgit v1.2.3