aboutsummaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorspl3g <spleefer6@yandex.ru>2025-03-22 21:41:16 +0300
committerspl3g <spleefer6@yandex.ru>2025-03-22 21:41:16 +0300
commit62454373db4cd2add82ded0cf7b21f7d69ade597 (patch)
tree1627133fe4567e9a3abb707af5e7289353410d5f /README.org
parentef5f52fb739c9f0d71c579f08363ef0dfd5c227d (diff)
Reorganize the lib
Diffstat (limited to 'README.org')
-rw-r--r--README.org11
1 files changed, 8 insertions, 3 deletions
diff --git a/README.org b/README.org
index 93b3c94..cf7d2cb 100644
--- a/README.org
+++ b/README.org
@@ -1,7 +1,12 @@
* chttp
This is not really a library, but a little project for my education. But if you really want to use it, you can.
** Installation
-Just copy the lib directory and use the header files.
+#+begin_src shell
+ make static
+ # or
+ make shared
+#+end_src
+Copy the directory in the =include/= folder to your project.
** Usage
*** Initializing the server
#+begin_src c
@@ -43,8 +48,8 @@ And to wrap things up, we need to run
#+end_src
*** Full example
#+begin_src c
- #include "lib/http.h"
- #include "lib/const_strings.h"
+ #include <chttp/http.h>
+ #include <chttp/const_strings.h>
void logging_func(http_middleware *self, http_request req) {
http_run_next(self, req);