gdcache: improve gdcache test compile cmd

master
wilson chen 2019-12-22 23:04:29 +08:00 committed by GitHub
parent 42ad48b53f
commit 13705fe80f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -12,7 +12,9 @@ extern "C" {
* 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