Browse Source

Added instructions to build with Makefile

Paul-Louis Ageneau 5 years ago
parent
commit
ff0f409d80
1 changed files with 8 additions and 0 deletions
  1. 8 0
      README.md

+ 8 - 0
README.md

@@ -24,6 +24,7 @@ Submodules:
 - libjuice: https://github.com/paullouisageneau/libjuice
 - libjuice: https://github.com/paullouisageneau/libjuice
 
 
 ## Building
 ## Building
+### Building with CMake (preferred)
 
 
 ```bash
 ```bash
 $ git submodule update --init --recursive
 $ git submodule update --init --recursive
@@ -33,6 +34,13 @@ $ cmake -DUSE_JUICE=1 -DUSE_GNUTLS=1 ..
 $ make
 $ make
 ```
 ```
 
 
+### Building directly with Make
+
+```bash
+$ git submodule update --init --recursive
+$ make USE_JUICE=1 USE_GNUTLS=1
+```
+
 ## Example
 ## Example
 
 
 In the following example, note the callbacks are called in another thread.
 In the following example, note the callbacks are called in another thread.