Added instructions to build with Makefile

This commit is contained in:
Paul-Louis Ageneau
2020-01-22 11:08:19 +01:00
parent a483e8135b
commit ff0f409d80

View File

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