summaryrefslogtreecommitdiff
path: root/src/gdcache.c
diff options
context:
space:
mode:
authorwilson chen <willson.chenwx@gmail.com>2019-12-22 23:04:29 +0800
committerGitHub <noreply@github.com>2019-12-22 23:04:29 +0800
commit13705fe80f9a39b21c1e1b605760937f7916a7e2 (patch)
treefe5921a86e3d29bab84b1c05ca5bac546e54ca9b /src/gdcache.c
parent42ad48b53f0b703fb654c7f6fbfce62c59b07fcc (diff)
downloadlibgd-13705fe80f9a39b21c1e1b605760937f7916a7e2.tar.gz
gdcache: improve gdcache test compile cmd
Diffstat (limited to 'src/gdcache.c')
-rw-r--r--src/gdcache.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gdcache.c b/src/gdcache.c
index 5a260a8..15599d3 100644
--- a/src/gdcache.c
+++ b/src/gdcache.c
@@ -25,7 +25,9 @@
* John Ellson (ellson@graphviz.org) Oct 31, 1997
*
* Test this with:
- * gcc -o gdcache -g -Wall -DTEST gdcache.c
+ * gcc -o gdcache -g -Wall -DTEST -DNEED_CACHE gdcache.c -lgd
+ * or
+ * gcc -o gdcache -g -Wall -DTEST -DNEED_CACHE gdcache.c libgd.a
*
* The cache is implemented by a singly-linked list of elements
* each containing a pointer to a user struct that is being managed by