]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/docs/examples/README
Various Mac OS X tweaks to get this to build. Probably breaking things.
[icculus/iodoom3.git] / neo / curl / docs / examples / README
1 EXAMPLES
2
3 This directory is for libcurl programming examples. They are meant to show
4 some simple steps on how you can build your own application to take full
5 advantage of libcurl.
6
7 If you end up with other small but still useful example sources, please mail
8 them for submission in future packages and on the web site.
9
10 The Makefile.example is an example makefile that could be used to build these
11 examples. Just edit the file according to your system and requirements first.
12
13 Most examples should build fine using a command line like this:
14
15   $ `curl-config --cc --cflags --libs` -o example example.c
16
17 Some compilers don't like having the arguments in this order but instead
18 want you do reorganize them like:
19
20   $ `curl-config --cc` -o example example.c `curl-config --cflags --libs`
21
22 *PLEASE* do not use the curl.haxx.se site as a test target for your libcurl
23 applications/experiments. Even if the examples in this directory use that site
24 as an example URL at some places, it doesn't mean that the URLs work or that
25 we expect you to actually torture our web site with your tests! Thanks.