Skip to content

Commit

Permalink
readme: instructions for static library [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
kroggen authored Dec 13, 2020
1 parent 3edd722 commit 0698dba
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ How to use
----------

1. Including the binn.c file in your project; or
2. Linking to the binn library:
2. Including the static library in your project; or
3. Linking to the binn library:

### On Linux and MacOSX:
```
Expand All @@ -153,6 +154,7 @@ cd binn
make
sudo make install
```

It will create the file `libbinn.so.3.0` on Linux and `libbinn.3.dylib` on MacOSX


Expand All @@ -165,9 +167,21 @@ git clone https://github.com/liteserver/binn
cd binn
make
```

Both will create the file `binn-3.0.dll`


### Static library

To generate a static library:

```
make static
```

It will create the file `libbinn.a`


### On Android:

Check for pre-compiled binaries in the [android-binn-native](https://github.com/litereplica/android-binn-native) project
Expand Down

0 comments on commit 0698dba

Please sign in to comment.