diff options
Diffstat (limited to 'doc/example.c')
-rw-r--r-- | doc/example.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/example.c b/doc/example.c index 31bf68b8..9ffe7023 100644 --- a/doc/example.c +++ b/doc/example.c @@ -2,14 +2,14 @@ // Compile a debug build of mupdf, then compile and run this example: // -// gcc -o build/debug/example -I fitz doc/example.c \ -// build/debug/libfitz.a build/debug/libfreetype.a -lpng -ljpeg \ -// -ljbig2dec -lopenjpeg -lm +// 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 -lpng -lm // // build/debug/example /path/to/document.pdf 1 200 25 -// Include MuPDF header files. The order is important! - +// Include the MuPDF header file. #include <fitz.h> void |