* main() - loads an SVG using svgtiny_create() and svgtiny_parse()
* event_diagram_expose() - renders the SVG by stepping through the shapes
*
- * Compile using:
- * gcc -g -W -Wall -o svgtiny_display_x11 svgtiny_display_x11.c \
- * `pkg-config --cflags --libs libsvgtiny cairo` -lX11
+ * A GNUMakefile is provided to ease compilation. To build the example
+ * program against the system copy of libsvgtiny, you can simply run,
+ *
+ * $ make
+ *
+ * Or, if you are developing libsvgtiny and want to build against your
+ * local copy, you can run,
+ *
+ * $ CPPFLAGS="-I../include" make
+ *
+ * to ensure that your (local) copy of the headers are used. You will
+ * need to modify this further if libsvgtiny is not installed on the
+ * system where you're developing. In addition to the "-I" directive
+ * above, you'll need both
+ *
+ * CPPFLAGS="-L/path/to/your/libsvgtiny/build/directory"
+ * LIBS="-lsvgtiny"
+ *
+ * to tell your compiler to link against the local libsvgtiny and
+ * where to find it.
+ *
+ * Finally, when you want to _run_ the example program using your
+ * local copy of libsvgtiny (whether or not a system copy is
+ * installed), you'll need to set
+ *
+ * LD_LIBRARY_PATH=/path/to/your/libsvgtiny/build/directory
+ *
+ * The shared-library build directory is platform-specific, but it
+ * should look something like,
+ *
+ * build-x86_64-pc-linux-gnu-x86_64-pc-linux-gnu-release-lib-shared
+ *
*/