diff --git a/README.md b/README.md index f507aa2..3c40ea5 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,20 @@ How to run: ./example-02 ./example-03 +curl +---- + +curl command line tool for sending requests via http and many other protocols. +It is also able to create skeleton of C application for libcurl. + +How to run: + + cd curl + ./generate-source-code.sh + ./compile-source-code.sh + ./download + + GTK+ ---- diff --git a/curl/compile-source-code.sh b/curl/compile-source-code.sh new file mode 100755 index 0000000..ce18a08 --- /dev/null +++ b/curl/compile-source-code.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +gcc -lcurl download.c -o download diff --git a/curl/generate-source-code.sh b/curl/generate-source-code.sh new file mode 100755 index 0000000..94231b3 --- /dev/null +++ b/curl/generate-source-code.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +curl http://www.ysoft.com -o index.html --libcurl download.c